diff options
author | Morris Jobke <morris.jobke@gmail.com> | 2014-06-02 16:29:03 +0200 |
---|---|---|
committer | Morris Jobke <morris.jobke@gmail.com> | 2014-06-02 16:29:03 +0200 |
commit | 57ef089aac11f66f7cb29e9de1cb1e7d7bb46058 (patch) | |
tree | d68c62c5ee4c29cedc14756168e627356d9e914b /apps/files/appinfo/update.php | |
parent | 6f4bdbdb9495227c1ad1bf170ad9caeddea127c7 (diff) | |
download | nextcloud-server-57ef089aac11f66f7cb29e9de1cb1e7d7bb46058.tar.gz nextcloud-server-57ef089aac11f66f7cb29e9de1cb1e7d7bb46058.zip |
drop allowZIPdownload and maxZIPSize as options
Diffstat (limited to 'apps/files/appinfo/update.php')
-rw-r--r-- | apps/files/appinfo/update.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/apps/files/appinfo/update.php b/apps/files/appinfo/update.php new file mode 100644 index 00000000000..5f054f266bc --- /dev/null +++ b/apps/files/appinfo/update.php @@ -0,0 +1,8 @@ +<?php + +// this drops the keys below, because they aren't needed anymore +// core related +if (version_compare(\OC_Config::getValue('version', '0.0.0'), '7.0.0', '<')) { + \OC_Config::deleteKey('allowZipDownload'); + \OC_Config::deleteKey('maxZipInputSize'); +} |