Remove redundant getDimensions

This commit is contained in:
Celestora 2022-04-05 16:13:25 +03:00
parent be83a72be2
commit 599c378b6f

View file

@ -81,7 +81,6 @@ class Photo extends Media
$image->resize(8192, 4320, Image::SHRINK_ONLY | Image::FIT);
$image->save($this->pathFromHash($hash), 92, Image::JPEG);
$this->saveImageResizedCopies($filename, $hash);
$this->getDimensions(); # propagate dimensions info in DB
return true;
}