[Pkg-owncloud-commits] [owncloud] 16/239: LDAP Wizard: clear the cache on save so changes have immediate effect

David Prévot taffit at moszumanska.debian.org
Fri Nov 29 01:32:12 UTC 2013


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository owncloud.

commit ce1318c9f109296fcdf7365178a96bc5de82e35a
Author: Arthur Schiwon <blizzz at owncloud.com>
Date:   Wed Nov 20 15:56:25 2013 +0100

    LDAP Wizard: clear the cache on save so changes have immediate effect
---
 apps/user_ldap/ajax/wizard.php | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/apps/user_ldap/ajax/wizard.php b/apps/user_ldap/ajax/wizard.php
index daad007..ad75a38 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:

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list