mirror of
https://github.com/e107inc/e107.git
synced 2025-09-01 10:23:53 +02:00
Issue #4283 - Update deprecated sql method usage. Removed old code.
This commit is contained in:
@@ -1545,12 +1545,7 @@ class news_front
|
||||
|
||||
$newsAr = $sql -> db_getList();
|
||||
$news_total=$sql->total_results;
|
||||
// Get number of entries
|
||||
//$sql -> db_Select_gen("SELECT FOUND_ROWS()");
|
||||
// $frows = $sql -> db_Fetch();
|
||||
//$news_total = $frows[0];
|
||||
|
||||
//echo "<br />Total ".$news_total." items found, ".count($newsAr)." displayed, Interval = {$interval}<br /><br />";
|
||||
|
||||
$p_title = ($this->action == "item") ? $newsAr[1]['news_title'] : $tp->toHTML($newsAr[1]['category_name'],FALSE,'TITLE');
|
||||
|
||||
|
Reference in New Issue
Block a user