create_from_user ($event->user); // create a friendship between the new user and the admin $admin = User::where ("is_admin", 1)->first (); if ($admin) { ActionsFriends::force_friendship ($event->user, $admin); $admin->notify (new UserNotification( "Signup", $actor->id, $event->user->id )); } } }