From 4138b055eb964402306f6bd2fc915d5b65641ce5 Mon Sep 17 00:00:00 2001 From: Miles Lott Date: Tue, 27 Mar 2001 03:04:36 +0000 Subject: [PATCH] Remove extra call to accounts->get_list() --- admin/groups.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/admin/groups.php b/admin/groups.php index bc5fb853b4..ec53fd12e3 100755 --- a/admin/groups.php +++ b/admin/groups.php @@ -21,9 +21,9 @@ if ($query) { $querymethod = " AND account_firstname LIKE '%$query%' OR account_lastname LIKE " - . "'%$query%' OR account_lid LIKE '%$query%' "; + . "'%$query%' OR account_lid LIKE '%$query%' "; } - + $phpgw->db->query("SELECT COUNT(*) FROM phpgw_accounts WHERE account_type='g'".$querymethod,__LINE__,__FILE__); $phpgw->db->next_record(); @@ -37,7 +37,6 @@ 'empty_row' => 'accounts_row_empty.tpl' )); - $account_info = $phpgw->accounts->get_list('groups',$start,$sort, $order, $query, $total); $total = account_total($query); $p->set_var("th_bg",$phpgw_info["theme"]["th_bg"]);