]> git.mxchange.org Git - mailer.git/blobdiff - inc/extensions/ext-birthday.php
constants fixed
[mailer.git] / inc / extensions / ext-birthday.php
index 42cf1e496967e83ccba143b23b7a43bca349af00..f1384dfc76288e7f7b179f433f0dc06a8a69240b 100644 (file)
@@ -183,17 +183,17 @@ PRIMARY KEY(id)
        break;
 
 default: // Do stuff when extension is loaded
-       $DUMMY = LOAD_CONFIG("0");
+       $dummy = LOAD_CONFIG();
 
        // Copy config to main array
-       $CONFIG['birthday_points'] = $DUMMY['birthday_points'];
-       $CONFIG['birthday_mode']   = $DUMMY['birthday_mode'];
-       $CONFIG['birthday_active'] = $DUMMY['birthday_active'];
+       $_CONFIG['birthday_points'] = $dummy['birthday_points'];
+       $_CONFIG['birthday_mode']   = $dummy['birthday_mode'];
+       $_CONFIG['birthday_active'] = $dummy['birthday_active'];
 
        // Save some RAM...
-       unset($DUMMY);
+       unset($dummy);
 
-       if ((defined('__DAILY_RESET')) && ($CONFIG['birthday_points'] > 0))
+       if ((defined('__DAILY_RESET')) && ($_CONFIG['birthday_points'] > 0))
        {
                // Daily reset was run and we shall pay points so we start checking for members who
                // has a birthday for today