mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-03-11 16:35:38 +00:00
- do not global functions getAll[Users|Groups] anymore
This commit is contained in:
parent
0a116adc88
commit
ced611f5b9
|
@ -35,13 +35,13 @@ if (!$settings->_enableUsersView) {
|
|||
UI::exitError(getMLText("my_account"),getMLText("access_denied"));
|
||||
}
|
||||
|
||||
$allUsers = getAllUsers();
|
||||
$allUsers = $dms->getAllUsers();
|
||||
|
||||
if (is_bool($allUsers)) {
|
||||
UI::exitError(getMLText("my_account"),getMLText("internal_error"));
|
||||
}
|
||||
|
||||
$groups = getAllGroups();
|
||||
$groups = $dms->getAllGroups();
|
||||
|
||||
if (is_bool($groups)) {
|
||||
UI::exitError(getMLText("admin_tools"),getMLText("internal_error"));
|
||||
|
|
|
@ -35,7 +35,7 @@ if (!$settings->_enableUsersView) {
|
|||
UI::exitError(getMLText("my_account"),getMLText("access_denied"));
|
||||
}
|
||||
|
||||
$users = getAllUsers();
|
||||
$users = $dms->getAllUsers();
|
||||
|
||||
if (is_bool($users)) {
|
||||
UI::exitError(getMLText("my_account"),getMLText("internal_error"));
|
||||
|
|
Loading…
Reference in New Issue
Block a user