diff options
| author | Bharat Mediratta <bharat@menalto.com> | 2013-02-15 13:00:26 -0500 | 
|---|---|---|
| committer | Bharat Mediratta <bharat@menalto.com> | 2013-02-15 13:00:26 -0500 | 
| commit | 96a01c86d9bd15f9dc91c60be6f236deab2ffad9 (patch) | |
| tree | db06b9a5ab2b03a0475f536b9792435059f999e9 /modules/gallery/helpers/gallery_installer.php | |
| parent | 16b8b8d16b8b46fe1e60b2a86f9ee5883dbc892f (diff) | |
| parent | 5b6c138da1e53e93e4de8079885fcef29d12e673 (diff) | |
Merge branch 'master' into jquery_190
Diffstat (limited to 'modules/gallery/helpers/gallery_installer.php')
| -rw-r--r-- | modules/gallery/helpers/gallery_installer.php | 8 | 
1 files changed, 8 insertions, 0 deletions
| diff --git a/modules/gallery/helpers/gallery_installer.php b/modules/gallery/helpers/gallery_installer.php index 7f10cdee..051a66cf 100644 --- a/modules/gallery/helpers/gallery_installer.php +++ b/modules/gallery/helpers/gallery_installer.php @@ -315,6 +315,7 @@ class gallery_installer {      module::set_var("gallery", "timezone", null);      module::set_var("gallery", "lock_timeout", 1);      module::set_var("gallery", "movie_extract_frame_time", 3); +    module::set_var("gallery", "movie_allow_uploads", "autodetect");    }    static function upgrade($version) { @@ -789,6 +790,13 @@ class gallery_installer {        module::set_version("gallery", $version = 55);      } +    if ($version == 55) { +      // In v56, we added the ability to change the default behavior regarding movie uploads.  It +      // can be set to "always", "never", or "autodetect" to match the previous behavior where they +      // are allowed only if FFmpeg is found. +      module::set_var("gallery", "movie_allow_uploads", "autodetect"); +      module::set_version("gallery", $version = 56); +    }    }    static function uninstall() { | 
