mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 09:05:16 +01:00
Moved to use the new limit_query() function
This commit is contained in:
parent
11d1dbc646
commit
976308c56e
@ -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())
|
||||
|
Loading…
Reference in New Issue
Block a user