// Is the account confirmed?
if ($data['status'] == 'CONFIRMED') {
// Add points to account
- // @TODO Try to rewrite the following unset()
- unset($GLOBALS['ref_level']);
+ initReferalSystem();
addPointsThroughReferalSystem('birthday_confirm', $userid, $data['points'], false, 0, strtolower(getConfig('birthday_mode')));
// Remove entry from table