More rewrites, and output-mode fixed (we should documentate this)
[mailer.git] / inc / autopurge / purge-unconfirmed.php
index 1b566c7a77b1fc4d3514dd88935a674732c85925..cdfd391b596b973dbc90ce365aa7dbb2d5de87a7 100644 (file)
@@ -69,14 +69,14 @@ ORDER BY
                        $UIDs .= $content['userid'] . ', ';
 
                        // Get date/time from timestamp
-                       $content['joined'] = generateDateTime($content['joined'], '0');
+                       $content['joined'] = generateDateTime($content['joined'], 0);
 
                        // Finnaly delete this inactive account
                        deleteUserAccount($content['userid'], loadEmailTemplate('member_autopurge_unconfirmed', $content, ''));
                } // END - while
 
                // Remove last comma
-               $UIDs = str_replace(", ", "\n", substr($UIDs, 0, -2));
+               $UIDs = str_replace(', ', "\n", substr($UIDs, 0, -2));
 
                // Send mail notification to admin
                if (getConfig('ap_un_notify') == 'Y') {