diff options
author | Robin Appelman <icewind@owncloud.com> | 2014-02-13 16:28:49 +0100 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2014-02-13 16:28:49 +0100 |
commit | 181bbd4325ea2b21ff8ecca93eb5ac839d6a739d (patch) | |
tree | 18fdd4bfdbd2de538ebe996e7ddb580a07450994 /apps/files_versions | |
parent | 4b84e3a7e8bf7dc0a8e62074803f97a81571ca22 (diff) | |
download | nextcloud-server-181bbd4325ea2b21ff8ecca93eb5ac839d6a739d.tar.gz nextcloud-server-181bbd4325ea2b21ff8ecca93eb5ac839d6a739d.zip |
Remove usage of legacy OC_Appconfig
Diffstat (limited to 'apps/files_versions')
-rw-r--r-- | apps/files_versions/lib/versions.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_versions/lib/versions.php b/apps/files_versions/lib/versions.php index 328ed4305f4..286a368b8cc 100644 --- a/apps/files_versions/lib/versions.php +++ b/apps/files_versions/lib/versions.php @@ -487,7 +487,7 @@ class Storage { $softQuota = true; $quota = \OC_Preferences::getValue($uid, 'files', 'quota'); if ( $quota === null || $quota === 'default') { - $quota = \OC_Appconfig::getValue('files', 'default_quota'); + $quota = \OC::$server->getAppConfig()->getValue('files', 'default_quota'); } if ( $quota === null || $quota === 'none' ) { $quota = \OC\Files\Filesystem::free_space('/'); |