Add `.class` to file name
authorCyperghost <olaf_schmitz_1@t-online.de>
Mon, 25 Mar 2024 10:12:39 +0000 (11:12 +0100)
committerCyperghost <olaf_schmitz_1@t-online.de>
Mon, 25 Mar 2024 10:12:39 +0000 (11:12 +0100)
wcfsetup/install/files/lib/system/comment/manager/ICommentPermissionManager.class.php [new file with mode: 0644]
wcfsetup/install/files/lib/system/comment/manager/ICommentPermissionManager.php [deleted file]

diff --git a/wcfsetup/install/files/lib/system/comment/manager/ICommentPermissionManager.class.php b/wcfsetup/install/files/lib/system/comment/manager/ICommentPermissionManager.class.php
new file mode 100644 (file)
index 0000000..4871dc8
--- /dev/null
@@ -0,0 +1,21 @@
+<?php
+
+namespace wcf\system\comment\manager;
+
+use wcf\data\user\UserProfile;
+
+/**
+ * Interface for comment managers that provide permission checks.
+ *
+ * @author      Olaf Braun
+ * @copyright   2001-2024 WoltLab GmbH
+ * @license     GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
+ */
+interface ICommentPermissionManager extends ICommentManager
+{
+    /**
+     * Returns true if the user may moderate content identified by
+     * object type id and object id.
+     */
+    public function canModerateObject(int $objectTypeID, int $objectID, UserProfile $user): bool;
+}
diff --git a/wcfsetup/install/files/lib/system/comment/manager/ICommentPermissionManager.php b/wcfsetup/install/files/lib/system/comment/manager/ICommentPermissionManager.php
deleted file mode 100644 (file)
index 4871dc8..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-<?php
-
-namespace wcf\system\comment\manager;
-
-use wcf\data\user\UserProfile;
-
-/**
- * Interface for comment managers that provide permission checks.
- *
- * @author      Olaf Braun
- * @copyright   2001-2024 WoltLab GmbH
- * @license     GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
- */
-interface ICommentPermissionManager extends ICommentManager
-{
-    /**
-     * Returns true if the user may moderate content identified by
-     * object type id and object id.
-     */
-    public function canModerateObject(int $objectTypeID, int $objectID, UserProfile $user): bool;
-}