apps/user_ldap/lib/LDAPProvider.php
/**
	 * Clear the cache if a cache is used, otherwise do nothing.
	 * @param string $uid user id
	 * @throws \Exception if user id was not found in LDAP
	 */
Clear the cache if a cache is used, otherwise do nothing.
@param string $uid user id
@throws \Exception if user id was not found in LDAP
Clear the cache if a cache is used otherwise do nothing . @param string $uid user id @throws \ Exception if user id was not found in LDAP
public function clearCache($uid) {
		if(!$this->backend->userExists($uid)){
			throw new \Exception('User id not found in LDAP');
		}
		$this->backend->getLDAPAccess($uid)->getConnection()->clearCache();
	}
public function clearCache ( $ uid ) { if ( ! $ this -> backend -> userExists ( $ uid ) ) { throw new \ Exception ( 'User id not found in LDAP' ) ; } $ this -> backend -> getLDAPAccess ( $ uid ) -> getConnection ( ) -> clearCache ( ) ; }
Clear the cache if a cache is used, otherwise do nothing.
Clear the cache if a cache is used otherwise do nothing .