]> git.mxchange.org Git - mailer.git/blobdiff - inc/monthly/monthly_bonus.php
Wrapper getBonusRanks() more used
[mailer.git] / inc / monthly / monthly_bonus.php
index 0bde3fb1d48d45634b9c7ffdbdeb80a0a728417c..f41b0e4e9af7bced6f1c837f9c8a014b55d1cb81 100644 (file)
@@ -49,7 +49,7 @@ if (!defined('__SECURITY')) {
 // Debug line
 //* DEBUG: */ logDebugMessage(__FILE__, __LINE__, 'Monthly reset started.');
 
-if ((getConfig('bonus_ranks') > 0) && (!isCssOutputMode())) {
+if ((getBonusRanks() > 0) && (!isCssOutputMode())) {
        // Extension 'autopurge' is inactive or purging of inactive accounts is deactivated
        $whereStatement = "WHERE `status`='CONFIRMED'";