From a8ca9dcf9edd54633c0c78b3af76aa974d38fc64 Mon Sep 17 00:00:00 2001 From: Chad Parry Date: Sat, 30 Apr 2011 16:10:06 -0600 Subject: Change the name of the extensions helper to legal_file. --- modules/gallery/helpers/extensions.php | 39 ---------------------------------- 1 file changed, 39 deletions(-) delete mode 100644 modules/gallery/helpers/extensions.php (limited to 'modules/gallery/helpers/extensions.php') diff --git a/modules/gallery/helpers/extensions.php b/modules/gallery/helpers/extensions.php deleted file mode 100644 index bccbfc41..00000000 --- a/modules/gallery/helpers/extensions.php +++ /dev/null @@ -1,39 +0,0 @@ -extensions = array("gif", "jpg", "jpeg", "png"); - if (movie::find_ffmpeg()) { - array_push($extensions_wrapper->extensions, "flv", "mp4", "m4v"); - } - module::event("upload_extensions", $extensions_wrapper); - return $extensions_wrapper->extensions; - } - - static function get_upload_filters() { - $filters = array(); - foreach (self::get_upload_extensions() as $extension) { - array_push($filters, "*." . $extension, "*." . strtoupper($extension)); - } - return $filters; - } -} -- cgit v1.2.3