mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-19 15:22:17 +02:00
N°8219 - Allow to reset user cache
This commit is contained in:
@@ -1962,6 +1962,15 @@ class UserRights
|
|||||||
return self::$m_aCacheUsers[$sAuthentication][$sLogin];
|
return self::$m_aCacheUsers[$sAuthentication][$sLogin];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Reset the cache of users
|
||||||
|
* @return void
|
||||||
|
*/
|
||||||
|
public static function ResetCacheUsers()
|
||||||
|
{
|
||||||
|
self::$m_aCacheUsers = [ 'internal' => [], 'external' => [] ];
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param string$sClass
|
* @param string$sClass
|
||||||
* @param array $aAllowedOrgs
|
* @param array $aAllowedOrgs
|
||||||
|
|||||||
Reference in New Issue
Block a user