function efNewUserNotif($user = NULL) { global $wgUser; # Backwards-compatible fiddling if (is_null($user)) { $user =& $wgUser; } $notifier = new NewUserNotifier(); $notifier->execute($user); }
/** * Hook account creation * * @param User $user User account that was created * @return bool */ function efNewUserNotif($user) { return NewUserNotifier::hook($user); }