]> git.mxchange.org Git - mailer.git/blobdiff - inc/loader/load-payments.php
Renamed all SQL-related functions to camel-case notation
[mailer.git] / inc / loader / load-payments.php
index ae53f946f601b66bc822d1ae4e34a16cc0457f4c..de1647c1374f65cc3f082746c1d77e706686fe02 100644 (file)
@@ -71,14 +71,14 @@ if (($GLOBALS['cache_instance']->loadCacheFile('payments')) && ($GLOBALS['cache_
        $GLOBALS['cache_instance']->init();
 
        // Query the database about this
-       $result = SQL_QUERY('SELECT * FROM `{?_MYSQL_PREFIX?}_payments` ORDER BY `id` ASC', __FILE__, __LINE__);
-       while ($dummy = SQL_FETCHARRAY($result)) {
+       $result = sqlQuery('SELECT * FROM `{?_MYSQL_PREFIX?}_payments` ORDER BY `id` ASC', __FILE__, __LINE__);
+       while ($dummy = sqlFetchArray($result)) {
                // Save row
                $GLOBALS['cache_instance']->addRow($dummy);
        } // END - while
 
        // Free memory
-       SQL_FREERESULT($result);
+       sqlFreeResult($result);
 
        // Close cache
        $GLOBALS['cache_instance']->storeExtensionVersion('payments');