X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fpurge%2Fpurge-unconfirmed.php;h=106302b6542fee71b56e7a0526e02bb9da5d6d47;hb=469d2a4cd1f211475d3997f0f587ebf57c1a6a44;hp=c4eed02a77ac7fc0c926ad38d295ff08bde9d71d;hpb=5c4d360166de238420eec3e5f4e694befb09ab5d;p=mailer.git diff --git a/inc/purge/purge-unconfirmed.php b/inc/purge/purge-unconfirmed.php index c4eed02a77..106302b654 100644 --- a/inc/purge/purge-unconfirmed.php +++ b/inc/purge/purge-unconfirmed.php @@ -16,8 +16,8 @@ * $Author:: $ * * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2009 by Roland Haeder * - * Copyright (c) 2009 - 2011 by Mailer Developer Team * - * For more information visit: http://www.mxchange.org * + * Copyright (c) 2009 - 2012 by Mailer Developer Team * + * For more information visit: http://mxchange.org * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * @@ -43,14 +43,16 @@ if (!defined('__SECURITY')) { // Abort if autopurge is not active or disabled by admin if ((!isExtensionActive('autopurge')) || (!isAutoPurgingActive())) { // Abort here - return false; + return FALSE; } // END - if // Shall I auto-purge unconfirmed accounts? if (getConfig('autopurge_unconfirmed') == 'Y') { // Init variables and find unconfirmed accounts which I shall auto-purge; $result_uncon = SQL_QUERY("SELECT - `userid`, `email`, `joined` + `userid`, + `email`, + `joined` FROM `{?_MYSQL_PREFIX?}_user_data` WHERE @@ -79,7 +81,7 @@ ORDER BY } // END - while // Remove last comma - $userids = str_replace(', ', "\n", substr($userids, 0, -2)); + $userids = str_replace(', ', chr(10), substr($userids, 0, -2)); // Send mail notification to admin if (getConfig('ap_un_notify') == 'Y') {