]> git.mxchange.org Git - mailer.git/blobdiff - inc/monthly/monthly_bonus.php
A lot calls saved, expression language rewritten:
[mailer.git] / inc / monthly / monthly_bonus.php
index cb010de05e74c2545ff4d830b30cc96be63a2297..14640c1a2b67c09150fcb728d053617937dabe05 100644 (file)
@@ -58,7 +58,7 @@ if (($curr != getConfig('last_month')) && (getConfig('bonus_ranks') > 0) && (get
        // Shall I keep inactive members away from here? (mostly wanted in an "active-rallye" ...)
        if (isExtensionActive('autopurge')) {
                // Use last online stamp only when autopurge for inactive members is activated
        // Shall I keep inactive members away from here? (mostly wanted in an "active-rallye" ...)
        if (isExtensionActive('autopurge')) {
                // Use last online stamp only when autopurge for inactive members is activated
-               if (getConfig('ap_inactive_since') > 0) {
+               if (getApInactiveSince() > 0) {
                        // Okay, include last online timestamp
                        $whereStatement1 = "WHERE `status`='CONFIRMED' AND `last_online` >= (UNIX_TIMESTAMP() - {?ap_inactive_since?})";
                } // END - if
                        // Okay, include last online timestamp
                        $whereStatement1 = "WHERE `status`='CONFIRMED' AND `last_online` >= (UNIX_TIMESTAMP() - {?ap_inactive_since?})";
                } // END - if