mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-22 18:18:46 +02:00
For fine-grained user rights detection...
SVN:trunk[1017]
This commit is contained in:
@@ -471,6 +471,18 @@ class UserRights
|
||||
}
|
||||
}
|
||||
|
||||
public static function GetUserObject()
|
||||
{
|
||||
if (is_null(self::$m_oUser))
|
||||
{
|
||||
return null;
|
||||
}
|
||||
else
|
||||
{
|
||||
return self::$m_oUser;
|
||||
}
|
||||
}
|
||||
|
||||
public static function GetUserLanguage()
|
||||
{
|
||||
if (is_null(self::$m_oUser))
|
||||
|
||||
Reference in New Issue
Block a user