Renamed all SQL-related functions to camel-case notation
[mailer.git] / inc / modules / admin / what-list_bonus.php
index f4e2160330f176d4449bf7a537accc009f009ce1..0d49bf5e94f441a8f43e16621a25bc868472fbb7 100644 (file)
@@ -74,7 +74,7 @@ if (isBonusRallyeActive()) {
        } // END - if
 
        // Check if at least one is in the active rallye
-       $result = SQL_QUERY("SELECT
+       $result = sqlQuery("SELECT
        `userid`,
        `email`,
        " . $pointsColumns . " AS `points`,
@@ -91,12 +91,12 @@ ORDER BY
        `last_online` DESC,
        `userid` ASC", __FILE__, __LINE__);
 
-       if (!SQL_HASZERONUMS($result)) {
+       if (!ifSqlHasZeroNums($result)) {
                // List users
                $OUT   = '';
                $count = 1;
                $total = '0';
-               while ($content = SQL_FETCHARRAY($result)) {
+               while ($content = sqlFetchArray($result)) {
                        // Add total points
                        $total += $content['points'];