]> git.mxchange.org Git - mailer.git/blobdiff - inc/libs/transfer_functions.php
Fix for inserted codes while registering of extensions, many rewrites/cleanups:
[mailer.git] / inc / libs / transfer_functions.php
index ee6946ae326a4743ced92e34eacd1ea78d6d7711..2f2d61c82749fa9edc18275c84092eb35ad81acf 100644 (file)
@@ -45,7 +45,7 @@ if (!defined('__SECURITY')) {
 // Purge expired transfer entries
 function autoPurgeTransfers ($max, $age) {
        // First get total in-going lines
-       $result = SQL_QUERY("SELECT `id` FROM `{?_MYSQL_PREFIX?}_user_transfers_in` ORDER BY `id` ASC", __FUNCTION__, __LINE__);
+       $result = SQL_QUERY('SELECT `id` FROM `{?_MYSQL_PREFIX?}_user_transfers_in` ORDER BY `id` ASC', __FUNCTION__, __LINE__);
        if (SQL_NUMROWS($result) > $max) {
                // Update overdue transfers
                $remove = SQL_NUMROWS($result) - $max;
@@ -56,7 +56,7 @@ function autoPurgeTransfers ($max, $age) {
        } // END - if
 
        // Second get total out-going lines
-       $result = SQL_QUERY("SELECT `id` FROM `{?_MYSQL_PREFIX?}_user_transfers_out` ORDER BY `id` ASC", __FUNCTION__, __LINE__);
+       $result = SQL_QUERY('SELECT `id` FROM `{?_MYSQL_PREFIX?}_user_transfers_out` ORDER BY `id` ASC', __FUNCTION__, __LINE__);
        if (SQL_NUMROWS($result) > $max) {
                // Update overdue transfers
                $remove = SQL_NUMROWS($result) - $max;