public function deleteReviewAndRating()
    {
        if ($this->getSession()->checkSessionChallenge()) {
            try {
                $this->deleteReview();
                $this->deleteRating();
            } catch (EntryDoesNotExistDaoException $exception) {
                //if user reloads the page after deletion
            }
        }
    }