Renamed all SQL-related functions to camel-case notation
[mailer.git] / inc / modules / admin / what-list_transfer.php
index 57c9ed6d812208df9fd56413981c9722c059a1ae..90ec40b5412935e56050037e4f9d728f2f5dbcf4 100644 (file)
@@ -44,7 +44,7 @@ if ((!defined('__SECURITY')) || (!isAdmin())) {
 addYouAreHereLink('admin', __FILE__);
 
 // We only need outgoing transfers
-$result = SQL_QUERY('SELECT
+$result = sqlQuery('SELECT
        `userid` AS `from_userid`,
        `to_userid`,
        `trans_id`,
@@ -57,10 +57,10 @@ ORDER BY
        `trans_id` ASC', __FILE__, __LINE__);
 
 $total = '0';
-if (!SQL_HASZERONUMS($result)) {
+if (!ifSqlHasZeroNums($result)) {
        // Output rows
        $OUT = '';
-       while ($content = SQL_FETCHARRAY($result)) {
+       while ($content = sqlFetchArray($result)) {
                // Prepare data for the row template
                $content['time_trans']  = generateDateTime($content['time_trans'], 3);
 
@@ -70,7 +70,7 @@ if (!SQL_HASZERONUMS($result)) {
        } // END - while
 
        // Free memory
-       SQL_FREERESULT($result);
+       sqlFreeResult($result);
 } else {
        // Nothing for in and out
        $OUT = '<tr>