mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-20 17:18:51 +02:00
N°4211 - Remove DBObject::Reload calls added in 3.0.0 - Fix User cache when user not in DB
This commit is contained in:
@@ -1843,7 +1843,7 @@ class UserRights
|
|||||||
self::$m_aCacheUsers = array('internal' => array(), 'external' => array());
|
self::$m_aCacheUsers = array('internal' => array(), 'external' => array());
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!isset(self::$m_aCacheUsers[$sAuthentication][$sLogin]))
|
if (!array_key_exists($sLogin, self::$m_aCacheUsers[$sAuthentication]))
|
||||||
{
|
{
|
||||||
switch($sAuthentication)
|
switch($sAuthentication)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user