mirror of
https://github.com/openvk/openvk
synced 2024-11-11 01:19:53 +03:00
Remove redundant getDimensions
This commit is contained in:
parent
be83a72be2
commit
599c378b6f
1 changed files with 0 additions and 1 deletions
|
@ -81,7 +81,6 @@ class Photo extends Media
|
||||||
$image->resize(8192, 4320, Image::SHRINK_ONLY | Image::FIT);
|
$image->resize(8192, 4320, Image::SHRINK_ONLY | Image::FIT);
|
||||||
$image->save($this->pathFromHash($hash), 92, Image::JPEG);
|
$image->save($this->pathFromHash($hash), 92, Image::JPEG);
|
||||||
$this->saveImageResizedCopies($filename, $hash);
|
$this->saveImageResizedCopies($filename, $hash);
|
||||||
$this->getDimensions(); # propagate dimensions info in DB
|
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue