]> git.mxchange.org Git - mailer.git/blobdiff - inc/purge/purge-unconfirmed.php
Also had to fix this to make 'month, numeric' selection working
[mailer.git] / inc / purge / purge-unconfirmed.php
index 0371f26ca3aacd18904e9751b5f42597f80f2718..741db75b61517924cef73cf3a19c961832072188 100644 (file)
@@ -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(', ', chr(10), substr($userids, 0, -2));
+               $userids = str_replace(', ', PHP_EOL, substr($userids, 0, -2));
 
                // Send mail notification to admin
                if (getConfig('ap_un_notify') == 'Y') {