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

More deprecated function/method cleanup.

This commit is contained in:
Cameron
2016-02-15 01:07:34 -08:00
parent 2c50a06517
commit b402a12ec7
6 changed files with 16 additions and 11 deletions

View File

@@ -210,7 +210,7 @@ if ($action == 'top')
if ($subaction == 'comment' || $subaction == 'all')
{
$top_forum_posters = $sql->db_Select("user", "*", "`user_comments` > 0 ORDER BY user_comments DESC LIMIT 0, 10");
$top_forum_posters = $sql->select("user", "*", "`user_comments` > 0 ORDER BY user_comments DESC LIMIT 0, 10");
$text = "
<div style='text-align:center'>
<table style='width:95%' class='fborder'>
@@ -258,7 +258,7 @@ if ($action == 'top')
if ($subaction == 'chat' || $subaction == 'all')
{
$top_forum_posters = $sql->db_Select("user", "*", "`user_chats` > 0 ORDER BY user_chats DESC LIMIT 0, 10");
$top_forum_posters = $sql->select("user", "*", "`user_chats` > 0 ORDER BY user_chats DESC LIMIT 0, 10");
$text = "
<div style='text-align:center'>
<table style='width:95%' class='fborder'>
@@ -271,7 +271,7 @@ if ($action == 'top')
$counter = 1;
if($top_forum_posters)
{
while ($row = $sql->db_Fetch())
while ($row = $sql->fetch())
{
// TODO - Custom ranking (chat), LANs
$ldata = $rank->getRanks($row);