LDAP Wizard: clear the cache on save so changes have immediate effect

This commit is contained in:
Arthur Schiwon 2013-11-20 15:56:25 +01:00
parent ff9ecc8a51
commit ce1318c9f1

View File

@ -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: