1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-01 04:10:38 +02:00

Deprecated function cleanup

This commit is contained in:
Cameron
2016-02-15 00:14:45 -08:00
parent a673206da5
commit a469b7ca6e
18 changed files with 43 additions and 42 deletions

View File

@@ -1511,7 +1511,7 @@ if(isset($page_title[$action]))
}
$num_entry = 0;
if($sql->db_Select_gen($qry.$limit_clause))
if($sql->gen($qry.$limit_clause))
{
$num_entry = $sql->total_results;
}
@@ -1519,7 +1519,7 @@ if(isset($page_title[$action]))
{
$from = 0; // We may be on a later page
$limit_clause = " LIMIT {$from}, {$amount} ";
$sql->db_Select_gen($qry.$limit_clause); // Re-run query with new value of $from
$sql->gen($qry.$limit_clause); // Re-run query with new value of $from
$num_entry = $sql->total_results;
}