diff options
author | Morris Jobke <morris.jobke@gmail.com> | 2014-06-02 18:31:43 +0200 |
---|---|---|
committer | Morris Jobke <morris.jobke@gmail.com> | 2014-06-02 18:31:43 +0200 |
commit | 9a67986473cee003dd594c8f67eecab0eee547d8 (patch) | |
tree | 1d24e462e2263a52642ae07cac9b9f23084c5028 /apps/files/appinfo | |
parent | 079b709f28e8f768f36ca3b5e11e60bec8f63e4a (diff) | |
download | nextcloud-server-9a67986473cee003dd594c8f67eecab0eee547d8.tar.gz nextcloud-server-9a67986473cee003dd594c8f67eecab0eee547d8.zip |
add OCP\Config:deleteSystemValue
Diffstat (limited to 'apps/files/appinfo')
-rw-r--r-- | apps/files/appinfo/update.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/files/appinfo/update.php b/apps/files/appinfo/update.php index 5f054f266bc..de635e5ce6b 100644 --- a/apps/files/appinfo/update.php +++ b/apps/files/appinfo/update.php @@ -2,7 +2,7 @@ // 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'); +if (version_compare(\OCP\Config::getSystemValue('version', '0.0.0'), '7.0.0', '<')) { + \OCP\Config::deleteSystemValue('allowZipDownload'); + \OCP\Config::deleteSystemValue('maxZipInputSize'); } |