summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/ajax
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@owncloud.com>2013-11-20 15:56:25 +0100
committerArthur Schiwon <blizzz@owncloud.com>2013-11-20 15:56:25 +0100
commitce1318c9f109296fcdf7365178a96bc5de82e35a (patch)
tree91269f016b8e518d5081ac9036f3f80a669ccdc0 /apps/user_ldap/ajax
parentff9ecc8a5197138726eb2a756c70399afb5eb97e (diff)
downloadnextcloud-server-ce1318c9f109296fcdf7365178a96bc5de82e35a.tar.gz
nextcloud-server-ce1318c9f109296fcdf7365178a96bc5de82e35a.zip
LDAP Wizard: clear the cache on save so changes have immediate effect
Diffstat (limited to 'apps/user_ldap/ajax')
-rw-r--r--apps/user_ldap/ajax/wizard.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/user_ldap/ajax/wizard.php b/apps/user_ldap/ajax/wizard.php
index daad0070119..ad75a384369 100644
--- a/apps/user_ldap/ajax/wizard.php
+++ b/apps/user_ldap/ajax/wizard.php
@@ -90,6 +90,9 @@ switch($action) {
exit;
}
$configuration->saveConfiguration();
+ //clear the cache on save
+ $connection = new \OCA\user_ldap\lib\Connection($ldapWrapper, $prefix);
+ $connection->clearCache();
OCP\JSON::success();
break;
default: