findByPostId($postId); if (is_null($forum)) { error(404); } if (!$forum->removePost($postId)) { error(404); }