X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fautopurge%2Fpurge-unconfirmed.php;h=c4eed02a77ac7fc0c926ad38d295ff08bde9d71d;hp=162b4f6f48a8b3bbf0a750d72d96fc9fc68cb49f;hb=2e394cb5b8a6225a39a6942b1fcc17c37a17a175;hpb=30ae22f62ae87c53a56baf0d134569ba91011111 diff --git a/inc/autopurge/purge-unconfirmed.php b/inc/autopurge/purge-unconfirmed.php index 162b4f6f48..c4eed02a77 100644 --- a/inc/autopurge/purge-unconfirmed.php +++ b/inc/autopurge/purge-unconfirmed.php @@ -14,11 +14,9 @@ * $Date:: $ * * $Tag:: 0.2.1-FINAL $ * * $Author:: $ * - * Needs to be in all Files and every File needs "svn propset * - * svn:keywords Date Revision" (autoprobset!) at least!!!!!! * * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2009 by Roland Haeder * - * Copyright (c) 2009, 2010 by Mailer Developer Team * + * Copyright (c) 2009 - 2011 by Mailer Developer Team * * For more information visit: http://www.mxchange.org * * * * This program is free software; you can redistribute it and/or modify * @@ -56,13 +54,14 @@ if (getConfig('autopurge_unconfirmed') == 'Y') { FROM `{?_MYSQL_PREFIX?}_user_data` WHERE - `status`='UNCONFIRMED' AND `joined` < (UNIX_TIMESTAMP() - {?ap_unconfirmed_time?}) + `status`='UNCONFIRMED' AND + (UNIX_TIMESTAMP() - `joined`) >= {?ap_unconfirmed_time?} ORDER BY `userid` ASC", __FILE__, __LINE__); if (!SQL_HASZERONUMS($result_uncon)) { // Prepare variable... $userids = ''; - $content['time'] = (getConfig('ap_unconfirmed_time') / 60 / 60); + $content['time'] = (getApUnconfirmedTime() / 60 / 60); // Delete inactive accounts while ($row = SQL_FETCHARRAY($result_uncon)) {