]> git.mxchange.org Git - mailer.git/blobdiff - inc/libs/transfer_functions.php
Even more language strings renamed
[mailer.git] / inc / libs / transfer_functions.php
index 6c509f4d8d835b3c44adc622d7e2f49ecc9e207b..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;
@@ -78,7 +78,7 @@ function autoPurgeTransfers ($max, $age) {
 
        // Only send email to admin(s) when we have removed entries
        if ($removed > 0) {
-               sendAdminNotification(getMessage('TRANSFER_ADMIN_AUTOPURGE'), 'admin_transfer_ap', $removed);
+               sendAdminNotification('{--TRANSFER_ADMIN_AUTOPURGE--}', 'admin_transfer_ap', $removed);
        } // END - if
 }