public static function SimpleLdapUser::reset in Simple LDAP 7.2
Same name and namespace in other branches
- 7 simple_ldap_user/SimpleLdapUser.class.php \SimpleLdapUser::reset()
Clear the cache for the given username.
Parameters
string $name: If specified, clear the cache entry for the given user. If not specified, all cache entries are cleared.
2 calls to SimpleLdapUser::reset()
- SimpleLdapUserController::resetCache in simple_ldap_user/
SimpleLdapUserController.class.php - Resets the entity cache.
- simple_ldap_user_drush_scan_all in simple_ldap_user/
simple_ldap_user.drush.inc
File
- simple_ldap_user/
SimpleLdapUser.class.php, line 405 - Class defining a simple LDAP user.
Class
- SimpleLdapUser
- @file Class defining a simple LDAP user.
Code
public static function reset($name = NULL) {
if ($name === NULL) {
self::$users = array();
}
else {
unset(self::$users[$name]);
}
}