X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=inc%2Fautopurge%2Fpurge-unconfirmed.php;h=f551ef47b7591c74e7b59193e56a1fa6505a87ab;hb=98e44adab9035e30efe78181b76d78c6e13ba574;hp=31d825d5d0cccaa60604abe28d8544f4b19969fa;hpb=62b4ef5bb0b63f7cac5f0dccd816246a108a5d83;p=mailer.git diff --git a/inc/autopurge/purge-unconfirmed.php b/inc/autopurge/purge-unconfirmed.php index 31d825d5d0..f551ef47b7 100644 --- a/inc/autopurge/purge-unconfirmed.php +++ b/inc/autopurge/purge-unconfirmed.php @@ -1,92 +1,3 @@ 0) { - // Prepare variable... - $userids = ''; - $content['time'] = (getConfig('ap_unconfirmed_time') / 60 / 60); - - // Delete inactive accounts - while ($content = SQL_FETCHARRAY($result_uncon)) { - // 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(getMessage('AUTOPURGE_ADMIN_UNCONFIRMED_SUBJECT'), 'admin_autopurge_unconfirmed', $userids, ''); - } // END - if - } // END - if - - // Free memory - SQL_FREERESULT($result_uncon); -} // END - if - -// [EOF] +// @DEPRECATED ?>