From: Jelle van der Waa <[email protected]>

---
 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

Reply via email to