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