From ce1318c9f109296fcdf7365178a96bc5de82e35a Mon Sep 17 00:00:00 2001 From: Arthur Schiwon Date: Wed, 20 Nov 2013 15:56:25 +0100 Subject: LDAP Wizard: clear the cache on save so changes have immediate effect --- apps/user_ldap/ajax/wizard.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'apps') 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: -- cgit v1.2.3