mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-26 17:54:39 +02:00
[ticket/9687] Update deprecated notices and helper functions
PHPBB3-9687
This commit is contained in:
@@ -417,9 +417,7 @@ class manager
|
||||
$this->cache->put(self::CACHE_KEY_USERS, $banned_users, self::CACHE_TTL);
|
||||
}
|
||||
|
||||
return array_filter($banned_users, function ($end) {
|
||||
return $end <= 0 || $end > time();
|
||||
});
|
||||
return $banned_users;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user