From 237b61afed472a9fc32160c3d41c883cb52df88e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20D=C3=BCsterhus?= Date: Sun, 6 Oct 2013 01:40:05 +0200 Subject: [PATCH] Add SuspensionAction::$requireACP Closes #59 --- file/lib/data/suspension/SuspensionAction.class.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/file/lib/data/suspension/SuspensionAction.class.php b/file/lib/data/suspension/SuspensionAction.class.php index abdc935..cfb3c49 100644 --- a/file/lib/data/suspension/SuspensionAction.class.php +++ b/file/lib/data/suspension/SuspensionAction.class.php @@ -17,6 +17,11 @@ class SuspensionAction extends \wcf\data\AbstractDatabaseObjectAction { */ protected $className = '\chat\data\suspension\SuspensionEditor'; + /** + * @see wcf\data\AbstractDatabaseObjectAction::$requireACP + */ + protected $requireACP = array('revoke'); + /** * Validates permissions and parameters */