Renamed all SQL-related functions to camel-case notation
[mailer.git] / inc / modules / admin / what-list_wernis.php
index d6cba228342211e20f21f254bccb102ac698cca7..54327a079ad21a0edce50197f1638ce2f9ac230c 100644 (file)
@@ -44,7 +44,7 @@ if ((!defined('__SECURITY')) || (!isAdmin())) {
 addYouAreHereLink('admin', __FILE__);
 
 // Check for entries
-$result = SQL_QUERY('SELECT
+$result = sqlQuery('SELECT
        `id`,
        `userid`,
        `wernis_account`,
@@ -61,10 +61,10 @@ ORDER BY
        __FILE__, __LINE__);
 
 // Are there some entries to display?
-if (!SQL_HASZERONUMS($result)) {
+if (!ifSqlHasZeroNums($result)) {
        // List all entries
        $OUT = '';
-       while ($content = SQL_FETCHARRAY($result)) {
+       while ($content = sqlFetchArray($result)) {
                // Translate some data and add color
                $content['wernis_timestamp'] = generateDateTime($content['wernis_timestamp'], 2);
 
@@ -86,7 +86,7 @@ if (!SQL_HASZERONUMS($result)) {
 }
 
 // Free the result
-SQL_FREERESULT($result);
+sqlFreeResult($result);
 
 // [EOF]
 ?>