diff options
author | Morris Jobke <hey@morrisjobke.de> | 2014-12-17 11:12:37 +0100 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2014-12-17 11:12:37 +0100 |
commit | d41082f4d625ae5aa053e6f038fa498517e45ef0 (patch) | |
tree | 5d8dd7c9e8699daa4a7dbf57fa2fe57bc444a83f /apps/files_sharing/lib | |
parent | 5b9c453071fe900529cd26b88fbc681d8b153b43 (diff) | |
download | nextcloud-server-d41082f4d625ae5aa053e6f038fa498517e45ef0.tar.gz nextcloud-server-d41082f4d625ae5aa053e6f038fa498517e45ef0.zip |
first step to drop \OCP\Config:: in favour of IConfig
Diffstat (limited to 'apps/files_sharing/lib')
-rw-r--r-- | apps/files_sharing/lib/helper.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_sharing/lib/helper.php b/apps/files_sharing/lib/helper.php index c83debe952f..71519bd1d4a 100644 --- a/apps/files_sharing/lib/helper.php +++ b/apps/files_sharing/lib/helper.php @@ -280,7 +280,7 @@ class Helper { * @return string */ public static function getShareFolder() { - $shareFolder = \OCP\Config::getSystemValue('share_folder', '/'); + $shareFolder = \OC::$server->getConfig()->getSystemValue('share_folder', '/'); return \OC\Files\Filesystem::normalizePath($shareFolder); } @@ -291,7 +291,7 @@ class Helper { * @param string $shareFolder */ public static function setShareFolder($shareFolder) { - \OCP\Config::setSystemValue('share_folder', $shareFolder); + \OC::$server->getConfig()->setSystemValue('share_folder', $shareFolder); } } |