1
0
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:
Marc Alexander
2023-08-12 12:45:27 +02:00
parent 8e80d734c8
commit 8a15670055
5 changed files with 104 additions and 20 deletions

View File

@@ -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;
}
/**