From 599c378b6ff62563c6a62bd09ce001c8de523714 Mon Sep 17 00:00:00 2001 From: Celestora Date: Tue, 5 Apr 2022 16:13:25 +0300 Subject: [PATCH] Remove redundant getDimensions --- Web/Models/Entities/Photo.php | 1 - 1 file changed, 1 deletion(-) diff --git a/Web/Models/Entities/Photo.php b/Web/Models/Entities/Photo.php index 6c897824..73f13393 100644 --- a/Web/Models/Entities/Photo.php +++ b/Web/Models/Entities/Photo.php @@ -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; }