mirror of
https://git.code.sf.net/p/seeddms/code
synced 2024-11-26 15:32:13 +00:00
__getUserData() returns quota
This commit is contained in:
parent
7e4b4fd3ea
commit
7da7d2e4a1
|
@ -169,6 +169,7 @@ class RestapiController { /* {{{ */
|
||||||
'login'=>$u->getLogin(),
|
'login'=>$u->getLogin(),
|
||||||
'email'=>$u->getEmail(),
|
'email'=>$u->getEmail(),
|
||||||
'language' => $u->getLanguage(),
|
'language' => $u->getLanguage(),
|
||||||
|
'quota' => $u->getQuota(),
|
||||||
'theme' => $u->getTheme(),
|
'theme' => $u->getTheme(),
|
||||||
'role' => $u->getRole() == SeedDMS_Core_User::role_admin ? 'admin' : ($u->getRole() == SeedDMS_Core_User::role_guest ? 'guest' : 'user'),
|
'role' => $u->getRole() == SeedDMS_Core_User::role_admin ? 'admin' : ($u->getRole() == SeedDMS_Core_User::role_guest ? 'guest' : 'user'),
|
||||||
'hidden'=>$u->isHidden() ? true : false,
|
'hidden'=>$u->isHidden() ? true : false,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user