From 32e12abe79dbd19df7ebf8df9a184ddd6a171447 Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Tue, 22 Jun 2021 16:46:15 +0200 Subject: [PATCH] Remove `ModerationQueueEditor::markAsDone` (#4317) This method has been deprecated for many years since 35e19e581a5e61f13d37e536710604283b1f0ebf. --- .../queue/ModerationQueueEditor.class.php | 13 ------------- 1 file changed, 13 deletions(-) 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. -- 2.20.1