From ec34ccdd1394bf6fdc6e2c45220177709b9a3ee6 Mon Sep 17 00:00:00 2001 From: Carl Bennett Date: Sat, 12 Oct 2019 00:12:12 +0000 Subject: [PATCH] Fix isStaff to exclude default ACLs --- src/libraries/User.php | 1 - 1 file changed, 1 deletion(-) diff --git a/src/libraries/User.php b/src/libraries/User.php index 4faa1914..5c1d74b1 100644 --- a/src/libraries/User.php +++ b/src/libraries/User.php @@ -543,7 +543,6 @@ public function isStaff() { self::OPTION_ACL_DOCUMENT_CREATE | self::OPTION_ACL_DOCUMENT_MODIFY | self::OPTION_ACL_DOCUMENT_DELETE | - self::OPTION_ACL_COMMENT_CREATE | self::OPTION_ACL_COMMENT_MODIFY | self::OPTION_ACL_COMMENT_DELETE | self::OPTION_ACL_EVENT_LOG_VIEW |