I'm going to run this on a cron job instead...people were using this to DoS

This commit is contained in:
8chan 2014-10-22 19:19:49 -07:00
parent ff225064a1
commit 0f8aef4f50

View File

@ -830,7 +830,7 @@ function checkBan($board = false) {
return; return;
} }
Bans::purge(); //Bans::purge();
if ($config['cache']['enabled']) if ($config['cache']['enabled'])
cache::set('purged_bans_last', time()); cache::set('purged_bans_last', time());