[Web] Clean PHP code by removing unused variables (#3646)

* [WEB] $lang is not used in this context

* [Web] $stmt variable is not used
This commit is contained in:
Miro Rauhala
2020-07-11 14:20:38 +03:00
committed by GitHub
parent 1cb5780e9c
commit 6bff958ab4
8 changed files with 26 additions and 39 deletions

View File

@@ -1,6 +1,5 @@
<?php
function presets($_action, $_kind) {
global $lang;
switch ($_action) {
case 'get':
if ($_SESSION['mailcow_cc_role'] != "admin" && $_SESSION['mailcow_cc_role'] != "domainadmin") {