Browse Source

fix last commit

pull/40/head
Michael Foster 11 years ago
parent
commit
6409ac6163
  1. 2
      inc/functions.php

2
inc/functions.php

@ -690,7 +690,7 @@ function purge_bans() {
global $config;
if ($config['cache']['enabled'] && $last_time_purged = cache::get('purged_bans_last')) {
if (time() - $last_time_purged < 60 * 30)
if (time() - $last_time_purged < $config['purge_bans'] )
return;
}

Loading…
Cancel
Save