upload-limit branch review

This commit is contained in:
Peter Papp
2020-11-16 17:15:10 +01:00
parent 8fc7272e38
commit c0d5a771a5
7 changed files with 106 additions and 92 deletions

View File

@@ -372,7 +372,6 @@ function format_megabytes($megabytes)
}
return $megabytes . 'MB';
}
/**
@@ -550,6 +549,12 @@ function get_pretty_name($basename, $name, $mimetype)
return $name . '.' . $mimetype;
}
/**
* Read exif data from jpeg image file
*
* @param $file
* @return array
*/
function get_image_meta_data($file)
{
if(get_file_type_from_mimetype($file->getMimeType()) === 'jpeg') {