public function destroy($iId)
    {
        if (empty($iId)) {
            $this->setError('Event ID not defined.');
            return false;
        }

        // -------------------------------------------------------------------------

        //  Perform delete
        $oDb = Factory::service('Database');
        $oDb->where('id', $iId);
        $oDb->delete($this->sTable);

        if ($oDb->affected_rows()) {
            return true;
        } else {
            $this->setError('Event failed to delete');
            return false;
        }
    }