mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-10-16 14:01:34 +00:00
- added missing function isAdmin()
This commit is contained in:
parent
0df18f1a01
commit
e4b475371b
|
@ -36,6 +36,10 @@ class LetoDMS_Core_UserAccess { /* {{{ */
|
||||||
|
|
||||||
function getMode() { return $this->_mode; }
|
function getMode() { return $this->_mode; }
|
||||||
|
|
||||||
|
function isAdmin() {
|
||||||
|
return ($this->_mode == LetoDMS_Core_User::role_admin);
|
||||||
|
}
|
||||||
|
|
||||||
function getUser() {
|
function getUser() {
|
||||||
return $this->_user;
|
return $this->_user;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user