]> git.mxchange.org Git - mailer.git/blobdiff - inc/autopurge/purge-unconfirmed.php
More rewrites to make use of (cached) wrapper functions
[mailer.git] / inc / autopurge / purge-unconfirmed.php
index 8b94274b75729e405f02e013272ad48cdb8993e9..162b4f6f48a8b3bbf0a750d72d96fc9fc68cb49f 100644 (file)
@@ -59,7 +59,7 @@ WHERE
        `status`='UNCONFIRMED' AND `joined` < (UNIX_TIMESTAMP() - {?ap_unconfirmed_time?})
 ORDER BY
        `userid` ASC", __FILE__, __LINE__);
        `status`='UNCONFIRMED' AND `joined` < (UNIX_TIMESTAMP() - {?ap_unconfirmed_time?})
 ORDER BY
        `userid` ASC", __FILE__, __LINE__);
-       if (SQL_NUMROWS($result_uncon) > 0) {
+       if (!SQL_HASZERONUMS($result_uncon)) {
                // Prepare variable...
                $userids = '';
                $content['time'] = (getConfig('ap_unconfirmed_time')  / 60 / 60);
                // Prepare variable...
                $userids = '';
                $content['time'] = (getConfig('ap_unconfirmed_time')  / 60 / 60);