1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-10 15:14:20 +02:00

refactor(media-files): remove unused return for method upload()

This commit is contained in:
Awilum
2020-08-03 08:09:00 +03:00
parent ba756a1e48
commit 94eef596e5

View File

@@ -142,8 +142,6 @@ class MediaFiles
// Check if size is within maximum dimensions
return $width <= $max_image_width and $height <= $max_image_height;
}
return false;
}
if (validateImage($file, $max_image_width, $max_image_height, $exact) === false) {