]> git.mxchange.org Git - mailer.git/blobdiff - inc/monthly/monthly_beg.php
More wrapper functions introduced, duplicate language strings merged:
[mailer.git] / inc / monthly / monthly_beg.php
index 6a557df326b58133511e741c9413056e1acf9aae..34fa872965644e9aa84473d3e078cc6a74b28ff6 100644 (file)
@@ -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]
 ?>