]> git.mxchange.org Git - mailer.git/blobdiff - inc/autopurge/purge-general.php
Fix for inserted codes while registering of extensions, many rewrites/cleanups:
[mailer.git] / inc / autopurge / purge-general.php
index c932ff47df0686a215b28a140b73e8e01c362744..8a7735c2f98b6a716052b6694d6b892c4713d027 100644 (file)
@@ -54,7 +54,7 @@ if (getAutoPurge() > 0) {
        $admin_points = '0';
 
        // Then check for outdated mail order. We don't delete them just the confirmation links will be deleted.
-       $result = SQL_QUERY("SELECT
+       $result = SQL_QUERY('SELECT
        s.id, s.userid, s.pool_id, t.price
 FROM
        `{?_MYSQL_PREFIX?}_user_stats` AS s
@@ -65,7 +65,7 @@ ON
 WHERE
        s.timestamp_ordered <= (UNIX_TIMESTAMP() - {?auto_purge?})
 ORDER BY
-       s.userid ASC", __FILE__, __LINE__);
+       s.userid ASC', __FILE__, __LINE__);
        if (!SQL_HASZERONUMS($result)) {
                // Start deleting procedure
                $userid = '0'; $points = '0';