]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/guest/what-active.php
Renamed all SQL-related functions to camel-case notation
[mailer.git] / inc / modules / guest / what-active.php
index 9336905feab0d04214bf4e822caec7b0be9f028c..0f3228d44af358b54ddfdc688cdb1809505a54b4 100644 (file)
@@ -49,7 +49,7 @@ if ((!isExtensionActive('active')) && (!isAdmin())) {
 } // END - if
 
 // Check for members who were active only this day
-$result = SQL_QUERY("SELECT
+$result = sqlQuery("SELECT
        `userid`,
        `last_online`
 FROM
@@ -63,10 +63,10 @@ ORDER BY
 LIMIT {?active_limit?}", __FILE__, __LINE__);
 
 // Entries found?
-if (!SQL_HASZERONUMS($result)) {
+if (!ifSqlHasZeroNums($result)) {
        // At least one member was online so let's load them all
        $OUT = '';
-       while ($content = SQL_FETCHARRAY($result)) {
+       while ($content = sqlFetchArray($result)) {
                // If ext-nickname is not installed, set 'nickname' to empty
                if (!isExtensionActive('nickname')) {
                        $content['nickname'] = '';