From 976308c56e827de27163a55afcbd4c077686aaff Mon Sep 17 00:00:00 2001 From: jengo Date: Mon, 2 Jul 2001 19:26:30 +0000 Subject: [PATCH] Moved to use the new limit_query() function --- admin/currentusers.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/admin/currentusers.php b/admin/currentusers.php index 483ff5f1d8..31cf4d3ccf 100755 --- a/admin/currentusers.php +++ b/admin/currentusers.php @@ -27,7 +27,6 @@ $start = 0; } - $limit = $phpgw->db->limit($start); $phpgw->db->query("select count(*) from phpgw_sessions where session_flags != 'A'",__LINE__,__FILE__); $phpgw->db->next_record(); @@ -60,7 +59,7 @@ $ordermethod = 'order by session_dla asc'; } - $phpgw->db->query("select * from phpgw_sessions where session_flags != 'A' $ordermethod " . $phpgw->db->limit($start),__LINE__,__FILE__); + $phpgw->db->limit_query("select * from phpgw_sessions where session_flags != 'A' $ordermethod ",$start,__LINE__,__FILE__); $i = 0; while ($phpgw->db->next_record())