/** * Removes this report by marking it as done without further processing. */ public function removeReport() { $this->queue->markAsRejected(); }
/** * Deletes reported content. */ public function removeContent() { // mark content as deleted ModerationQueueActivationManager::getInstance()->removeContent($this->queue->getDecoratedObject(), $this->parameters['message']); $this->queue->markAsRejected(); }