/** * Deletes subscriber's and/or user's row * * @return type */ public function delete() { if ($this->isJoomlaUserType()) { throw Exception('The deleting of Joomla users is not allowed'); } if (!$this->getId() || !parent::delete($this->getId())) { return false; } return true; }