public function deletePlayer() { SR_Item::deleteAllItems($this); if (false !== ($p = $this->getParty())) { $p->kickUser($this, true); } Shadowrun4::removePlayer($this); SR_Quest::deletePlayer($this); SR_PlayerVar::deletePlayer($this); $this->delete(); }