X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fautopurge%2Fpurge-mails.php;h=83584677776085fa5f208aafb22e5160666e9d7b;hb=5e9e2e145dc720e1459a6f1f51f2a32f1fcc9b6d;hp=712553b6557cb1e5ee86ab53e0ea167c0f3ecd7d;hpb=8a6e7429f376fda6123c27ecbec8c192972bcd42;p=mailer.git diff --git a/inc/autopurge/purge-mails.php b/inc/autopurge/purge-mails.php index 712553b655..8358467777 100644 --- a/inc/autopurge/purge-mails.php +++ b/inc/autopurge/purge-mails.php @@ -54,7 +54,8 @@ $result_mails = SQL_QUERY("SELECT FROM `{?_MYSQL_PREFIX?}_pool` WHERE - `data_type`='DELETED' AND `timestamp` <= (UNIX_TIMESTAMP() - {?ap_dm_timeout?}) + `data_type`='DELETED' AND + `timestamp` <= (UNIX_TIMESTAMP() - {?ap_dm_timeout?}) ORDER BY `sender` ASC", __FILE__, __LINE__); @@ -80,7 +81,8 @@ if (!SQL_HASZERONUMS($result_mails)) { FROM `{?_MYSQL_PREFIX?}_pool` WHERE - `data_type`='DELETED' AND timestamp <= (UNIX_TIMESTAMP() - {?ap_dm_timeout?}) + `data_type`='DELETED' AND + `timestamp` <= (UNIX_TIMESTAMP() - {?ap_dm_timeout?}) ORDER BY `sender` ASC", __FILE__, __LINE__); } // END - if @@ -115,7 +117,7 @@ if (!SQL_HASZERONUMS($result_mails)) { // Reset query (to prevent possible errors) ... $result_mails = SQL_QUERY("SELECT - `userid` AS userid + `userid` FROM `{?_MYSQL_PREFIX?}_user_stats` WHERE