- // @TODO Try to rewrite the following unset()
- unset($GLOBALS['ref_level']);
- addPointsThroughReferalSystem('birthday_confirm', $userid, $data['points'], false, 0, $locked, strtolower(getConfig('birthday_mode')));
+ initReferalSystem();
+ addPointsThroughReferalSystem('birthday_confirm', $userid, $data['points'], false, 0, strtolower(getConfig('birthday_mode')));