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:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user