X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fautopurge%2Fpurge-unconfirmed.php;h=f551ef47b7591c74e7b59193e56a1fa6505a87ab;hb=5b63f5d4e70796f656c21c2a371254034255a394;hp=c8f587e3e42d4f2ed63d67688b70f360320faef7;hpb=29385a0483bbcbbe940a32a49d488b1d5add15c5;p=mailer.git diff --git a/inc/autopurge/purge-unconfirmed.php b/inc/autopurge/purge-unconfirmed.php index c8f587e3e4..f551ef47b7 100644 --- a/inc/autopurge/purge-unconfirmed.php +++ b/inc/autopurge/purge-unconfirmed.php @@ -1,96 +1,3 @@ 0) { - // Prepare variable... - $userids = ''; - $content['time'] = (getConfig('ap_unconfirmed_time') / 60 / 60); - - // Delete inactive accounts - while ($row = SQL_FETCHARRAY($result_uncon)) { - // Merge both arrays - $content = merge_array($content, $row); - - // Remember userids for the admin - $userids .= $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 - $userids = str_replace(', ', "\n", substr($userids, 0, -2)); - - // Send mail notification to admin - if (getConfig('ap_un_notify') == 'Y') { - sendAdminNotification('{--ADMIN_AUTOPURGE_UNCONFIRMED_SUBJECT--}', 'admin_autopurge_unconfirmed', $userids); - } // END - if - } // END - if - - // Free memory - SQL_FREERESULT($result_uncon); -} // END - if - -// [EOF] +// @DEPRECATED ?>