summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/lib
diff options
context:
space:
mode:
authorJörn Friedrich Dreyer <jfd@butonic.de>2014-12-18 23:01:49 +0100
committerJörn Friedrich Dreyer <jfd@butonic.de>2014-12-18 23:01:49 +0100
commit49318b4d93b4dc5fbd58fa87b2efa8f1577fb7b7 (patch)
treee5e909e5482f77eb0965f174cf3c32108f0270dd /apps/files_sharing/lib
parent5327b8043019ec8f0cfe19d70794978570bba4bc (diff)
parentd41082f4d625ae5aa053e6f038fa498517e45ef0 (diff)
downloadnextcloud-server-49318b4d93b4dc5fbd58fa87b2efa8f1577fb7b7.tar.gz
nextcloud-server-49318b4d93b4dc5fbd58fa87b2efa8f1577fb7b7.zip
Merge pull request #12896 from owncloud/drop-deprecated
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.php4
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);
}
}