From ba10a5b7d824bfb87ee1d1b78c054eb9e8a4a22e Mon Sep 17 00:00:00 2001 From: Shish Date: Sat, 9 Mar 2024 23:11:11 +0000 Subject: [PATCH] [tag_categories] remove redundant permission check, see #1103 --- ext/tag_categories/main.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/ext/tag_categories/main.php b/ext/tag_categories/main.php index 88388f00..9ecfcdbd 100644 --- a/ext/tag_categories/main.php +++ b/ext/tag_categories/main.php @@ -160,10 +160,6 @@ class TagCategories extends Extension { global $user, $database; - if (!$user->can(Permissions::EDIT_TAG_CATEGORIES)) { - return; - } - if (!isset($_POST['tc_status']) and !isset($_POST['tc_category']) and !isset($_POST['tc_display_singular']) and