[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,7 +1,6 @@
<?php
function ratelimit($_action, $_scope, $_data = null) {
global $redis;
global $lang;
$_data_log = $_data;
switch ($_action) {
case 'edit':