mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-27 07:44:04 +02:00
AdminAccountPage: Backends do provide a unified interface now, use it
refs #8826 refs #7693
This commit is contained in:
parent
c441117324
commit
437090d2b1
@ -280,8 +280,8 @@ class AdminAccountPage extends Form
|
|||||||
}
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
return $backend->listUsers();
|
return $backend->select(array('user_name'))->fetchColumn();
|
||||||
} catch (Exception $e) {
|
} catch (Exception $_) {
|
||||||
// No need to handle anything special here. Error means no users found.
|
// No need to handle anything special here. Error means no users found.
|
||||||
return array();
|
return array();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user