/** * Deletes an announce by its associated id * * @param string $id Announce id * @return boolean */ public function deleteById($id) { // Grab announce's title before we remove it $title = Filter::escape($this->announceMapper->fetchTitleById($id)); if ($this->delete($id)) { $this->track('Announce "%s" has been removed', $title); return true; } else { return false; } }