$user->created = common_sql_now();
- if (Event::handle('StartUserRegister', array(&$user, &$profile))) {
+ if (Event::handle('StartUserRegister', array($profile))) {
$profile->query('BEGIN');
}
}
- Event::handle('EndUserRegister', array(&$profile, &$user));
+ Event::handle('EndUserRegister', array($profile));
}
return $user;