X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmonthly%2Fmonthly_beg.php;h=34fa872965644e9aa84473d3e078cc6a74b28ff6;hb=499c5676104cbdcbf480cdab20a28a14247ac442;hp=6a557df326b58133511e741c9413056e1acf9aae;hpb=55dd61bf035773f00ba0f7f3b56a5299b2ac9693;p=mailer.git diff --git a/inc/monthly/monthly_beg.php b/inc/monthly/monthly_beg.php index 6a557df326..34fa872965 100644 --- a/inc/monthly/monthly_beg.php +++ b/inc/monthly/monthly_beg.php @@ -46,11 +46,11 @@ if (!defined('__SECURITY')) { return; } -// Get current month (2 digits) -$curr = getMonth(); +// Debug line +//* DEBUG: */ logDebugMessage(__FILE__, __LINE__, 'Monthly reset started.'); // Check if month is done -if (($curr != getConfig('last_month')) && (getConfig('last_month') > 0) && (getConfig('beg_ranks') > 0) && (!isCssOutputMode())) { +if ((getConfig('beg_ranks') > 0) && (!isCssOutputMode())) { // Extension 'autopurge' is inactive or purging of inactive accounts is deactivated $whereStatement1 = ''; @@ -101,5 +101,8 @@ LIMIT {?beg_ranks?}", __FILE__, __LINE__); SQL_FREERESULT($result_main); } // END - if +// Debug line +//* DEBUG: */ logDebugMessage(__FILE__, __LINE__, 'Monthly reset ended.'); + // [EOF] ?>