From 93fc8f713b1432eafcf5f2692d1a035c8c23e3f2 Mon Sep 17 00:00:00 2001 From: Zankaria Date: Wed, 16 Apr 2025 21:06:03 +0200 Subject: [PATCH] auth.php: remove unused global --- inc/mod/auth.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/mod/auth.php b/inc/mod/auth.php index 55ac64f8..4e5d27a5 100644 --- a/inc/mod/auth.php +++ b/inc/mod/auth.php @@ -79,7 +79,7 @@ function calc_cookie_name(bool $is_https, bool $is_path_jailed, string $base_nam } function login(string $username, string $password): array|false { - global $mod, $config; + global $mod; $query = prepare("SELECT `id`, `type`, `boards`, `password`, `version` FROM ``mods`` WHERE BINARY `username` = :username"); $query->bindValue(':username', $username);