X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fautopurge%2Fpurge-unconfirmed.php;h=f551ef47b7591c74e7b59193e56a1fa6505a87ab;hb=98e44adab9035e30efe78181b76d78c6e13ba574;hp=cdfd391b596b973dbc90ce365aa7dbb2d5de87a7;hpb=c2e17d983fcbc0c3bd1dd37908d87c678f0367df;p=mailer.git diff --git a/inc/autopurge/purge-unconfirmed.php b/inc/autopurge/purge-unconfirmed.php index cdfd391b59..f551ef47b7 100644 --- a/inc/autopurge/purge-unconfirmed.php +++ b/inc/autopurge/purge-unconfirmed.php @@ -1,92 +1,3 @@ 0) { - // Prepare variable... - $UIDs = ''; - $content['time'] = (getConfig('ap_unconfirmed_time') / 60 / 60); - - // Delete inactive accounts - while ($content = SQL_FETCHARRAY($result_uncon)) { - // Remember userids for the admin - $UIDs .= $content['userid'] . ', '; - - // Get date/time from timestamp - $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)); - - // Send mail notification to admin - if (getConfig('ap_un_notify') == 'Y') { - sendAdminNotification(getMessage('AUTOPURGE_ADMIN_UNCONFIRMED_SUBJECT'), 'admin_autopurge_unconfirmed', $UIDs, ''); - } // END - if - } // END - if - - // Free memory - SQL_FREERESULT($result_uncon); -} // END - if - -// [EOF] +// @DEPRECATED ?>