public function unregister($user) { //sanity check: we shouldn't be touching users once the tournament is already in action. if ($this->isTournamentRunning()) { return; } $this->registrations()->where('user_id', '=', $user->user_id)->delete(); }