[PATCH] web: remove unused $window_length
20 Dec
2018
20 Dec
'18
7:36 p.m.
From: Jelle van der Waa <jelle@vdwaa.nl> --- web/lib/aurjson.class.php | 1 - 1 file changed, 1 deletion(-) diff --git a/web/lib/aurjson.class.php b/web/lib/aurjson.class.php index c51e9c2..d0091f1 100644 --- a/web/lib/aurjson.class.php +++ b/web/lib/aurjson.class.php @@ -152,7 +152,6 @@ class AurJSON { return false; } - $window_length = config_get("ratelimit", "window_length"); $this->update_ratelimit($ip); $stmt = $this->dbh->prepare(" SELECT Requests FROM ApiRateLimit -- 2.20.1
2193
Age (days ago)
2193
Last active (days ago)
0 comments
1 participants
participants (1)
-
Jelle van der Waa