diff options
author | Arthur Schiwon <blizzz@owncloud.com> | 2013-11-20 15:56:25 +0100 |
---|---|---|
committer | Arthur Schiwon <blizzz@owncloud.com> | 2013-11-20 15:56:25 +0100 |
commit | ce1318c9f109296fcdf7365178a96bc5de82e35a (patch) | |
tree | 91269f016b8e518d5081ac9036f3f80a669ccdc0 /apps/user_ldap/ajax | |
parent | ff9ecc8a5197138726eb2a756c70399afb5eb97e (diff) | |
download | nextcloud-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.php | 3 |
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: |