From: Matthias Schmidt Date: Tue, 22 Jun 2021 14:46:15 +0000 (+0200) Subject: Remove `ModerationQueueEditor::markAsDone` (#4317) X-Git-Tag: 5.5.0_Alpha_1~613 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=32e12abe79dbd19df7ebf8df9a184ddd6a171447;p=GitHub%2FWoltLab%2FWCF.git Remove `ModerationQueueEditor::markAsDone` (#4317) This method has been deprecated for many years since 35e19e581a5e61f13d37e536710604283b1f0ebf. --- diff --git a/wcfsetup/install/files/lib/data/moderation/queue/ModerationQueueEditor.class.php b/wcfsetup/install/files/lib/data/moderation/queue/ModerationQueueEditor.class.php index 6a73c2d0bc..933682231e 100644 --- a/wcfsetup/install/files/lib/data/moderation/queue/ModerationQueueEditor.class.php +++ b/wcfsetup/install/files/lib/data/moderation/queue/ModerationQueueEditor.class.php @@ -24,19 +24,6 @@ class ModerationQueueEditor extends DatabaseObjectEditor */ protected static $baseClass = ModerationQueue::class; - /** - * Marks this entry as done. - * - * @deprecated 2.1 - Please use markAsConfirmed() or markAsRejected() - */ - public function markAsDone() - { - $this->update(['status' => ModerationQueue::STATUS_DONE]); - - // reset moderation count - ModerationQueueManager::getInstance()->resetModerationCount(); - } - /** * Marks this entry as confirmed, e.g. report was justified and content was deleted or * content was approved.