From 437090d2b17089a9a73f7f90feab6484179f42f8 Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Mon, 4 May 2015 12:21:17 +0200 Subject: [PATCH] AdminAccountPage: Backends do provide a unified interface now, use it refs #8826 refs #7693 --- modules/setup/application/forms/AdminAccountPage.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/setup/application/forms/AdminAccountPage.php b/modules/setup/application/forms/AdminAccountPage.php index 7378a4095..a7bd8fc6c 100644 --- a/modules/setup/application/forms/AdminAccountPage.php +++ b/modules/setup/application/forms/AdminAccountPage.php @@ -280,8 +280,8 @@ class AdminAccountPage extends Form } try { - return $backend->listUsers(); - } catch (Exception $e) { + return $backend->select(array('user_name'))->fetchColumn(); + } catch (Exception $_) { // No need to handle anything special here. Error means no users found. return array(); }