[tag_categories] remove redundant permission check, see #1103

This commit is contained in:
Shish 2024-03-09 23:11:11 +00:00 committed by Shish
parent aec230beb0
commit ba10a5b7d8

View file

@ -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