From ced611f5b94721682185c41bdb9e8c7ee5f6f1b1 Mon Sep 17 00:00:00 2001 From: steinm Date: Mon, 15 Nov 2010 21:10:37 +0000 Subject: [PATCH] - do not global functions getAll[Users|Groups] anymore --- out/out.GroupView.php | 4 ++-- out/out.UsrView.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/out/out.GroupView.php b/out/out.GroupView.php index 7a8505bf8..55ed90557 100644 --- a/out/out.GroupView.php +++ b/out/out.GroupView.php @@ -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")); diff --git a/out/out.UsrView.php b/out/out.UsrView.php index 5dcbb93a6..61e2df2e6 100644 --- a/out/out.UsrView.php +++ b/out/out.UsrView.php @@ -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"));