forked from leftypol/leftypol
bans.php: make the purge configurable
This commit is contained in:
parent
bcfc934604
commit
d0b1c388eb
2 changed files with 15 additions and 4 deletions
|
@ -907,7 +907,7 @@ function checkBan($board = false) {
|
|||
return;
|
||||
}
|
||||
|
||||
Bans::purge();
|
||||
Bans::purge($config['require_ban_view']);
|
||||
|
||||
if ($config['cache']['enabled'])
|
||||
cache::set('purged_bans_last', time());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue