Merge pull request #904 from Zankaria/bans-no-defaults

bans.php: remove unless defaults
This commit is contained in:
Lorenzo Yario 2025-02-14 13:25:40 -06:00 committed by GitHub
commit 60b5e5c5ea
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -276,7 +276,7 @@ class Bans {
}
}
static public function find(?string $ip, string|false $board = false, bool $get_mod_info = false, ?int $ban_id = null, bool $auto_gc = true) {
static public function find(?string $ip, string|false $board, bool $get_mod_info, ?int $ban_id, bool $auto_gc) {
global $config;
if ($auto_gc) {