[tag_categories] remove redundant permission check, see #1103
This commit is contained in:
parent
aec230beb0
commit
ba10a5b7d8
1 changed files with 0 additions and 4 deletions
|
@ -160,10 +160,6 @@ class TagCategories extends Extension
|
||||||
{
|
{
|
||||||
global $user, $database;
|
global $user, $database;
|
||||||
|
|
||||||
if (!$user->can(Permissions::EDIT_TAG_CATEGORIES)) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!isset($_POST['tc_status']) and
|
if (!isset($_POST['tc_status']) and
|
||||||
!isset($_POST['tc_category']) and
|
!isset($_POST['tc_category']) and
|
||||||
!isset($_POST['tc_display_singular']) and
|
!isset($_POST['tc_display_singular']) and
|
||||||
|
|
Reference in a new issue