From 26fbf726a49d2dda5eb4991390de1ed388c3961f Mon Sep 17 00:00:00 2001 From: justcool393 Date: Thu, 6 Oct 2022 23:24:00 -0700 Subject: [PATCH] remove unused permission --- files/helpers/const.py | 1 - files/templates/settings2.html | 2 -- 2 files changed, 3 deletions(-) diff --git a/files/helpers/const.py b/files/helpers/const.py index 871857bb4..ae9d10f20 100644 --- a/files/helpers/const.py +++ b/files/helpers/const.py @@ -190,7 +190,6 @@ PERMS = { # Minimum admin_level to perform action. 'MESSAGE_BLOCKED_USERS': 1, 'APPS_MODERATION': 3, 'STREAMERS_MODERATION': 2, - 'UNKNOWN_ADMIN_LEVEL2_PERM4': 2, # TODO: figure out what this is and remove it if unnecessary } FEATURES = { diff --git a/files/templates/settings2.html b/files/templates/settings2.html index 8183aa277..e19bcf2a4 100644 --- a/files/templates/settings2.html +++ b/files/templates/settings2.html @@ -52,8 +52,6 @@ {% include "header.html" %} {% block subNav %} - -{% set mod = (v and v.admin_level >= PERMS['UNKNOWN_ADMIN_LEVEL2_PERM4']) %} {% if not request.path.startswith('/h/') %}