diff options
author | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2017-01-18 21:13:23 +0100 |
---|---|---|
committer | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2017-01-18 21:13:23 +0100 |
commit | 689df9a843dd0505088143de039af775a3f92612 (patch) | |
tree | 717a7eb2baa8f4c7f8e6870d2753fe9f03d77929 /apps/user_ldap/lib/Configuration.php | |
parent | 012708e1badebe5dab6260c2e9edb521d5dbfee0 (diff) | |
download | nextcloud-server-689df9a843dd0505088143de039af775a3f92612.tar.gz nextcloud-server-689df9a843dd0505088143de039af775a3f92612.zip |
LDAP OCS Api for create config
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'apps/user_ldap/lib/Configuration.php')
-rw-r--r-- | apps/user_ldap/lib/Configuration.php | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/apps/user_ldap/lib/Configuration.php b/apps/user_ldap/lib/Configuration.php index eb4fcd3fbe6..65ee9c70807 100644 --- a/apps/user_ldap/lib/Configuration.php +++ b/apps/user_ldap/lib/Configuration.php @@ -393,9 +393,12 @@ class Configuration { * @return bool */ protected function saveValue($varName, $value) { - return \OCP\Config::setAppValue('user_ldap', - $this->configPrefix.$varName, - $value); + \OC::$server->getConfig()->setAppValue( + 'user_ldap', + $this->configPrefix.$varName, + $value + ); + return true; } /** |