diff --git a/app/Models/Media.php b/app/Models/Media.php index 81e600a..6867c3a 100644 --- a/app/Models/Media.php +++ b/app/Models/Media.php @@ -986,10 +986,6 @@ class Media extends Model } public static function recommendedStorage(string $mime_type, string $security_type): string { - if($mime_type === '') { - return 'cdn'; - } - if($security_type === '') { if (strpos($mime_type, 'image/') === 0) { return('local');