]> git.mxchange.org Git - mailer.git/blobdiff - inc/extensions/ext-bonus.php
New wrapper functions introduced, TODOs.txt updated
[mailer.git] / inc / extensions / ext-bonus.php
index cb0bd0fab9f705e165d07cd23474e898817fa0f5..2e83eba753da03bd0c0d39a024fb5b3e6ecaee3a 100644 (file)
@@ -588,7 +588,7 @@ WHERE `last_online` < ".$mark." ORDER BY `userid` ASC");
 
        case 'init': // Do stuff when extension is initialized
                // Check for bonus rallye is active and send mails out
-               if ((isExtensionInstalledAndNewer('bonus', '0.9.1')) && (isBonusRallyeActive()) && (getConfig('bonus_new_member_notify') == 'Y')) {
+               if ((isBonusRallyeActive()) && (isBonusNewMemberNotifyEnabled())) {
                        // Include file for sending out mails
                        addIncludeToPool('notify', 'inc/mails/bonus_mails.php');
                } // END - if