delete_spammers tweak

This commit is contained in:
David Anderson 2014-06-10 00:45:45 -07:00
parent d6962a70f0
commit 780284b9fa
1 changed files with 3 additions and 0 deletions

View File

@ -98,6 +98,9 @@ function delete_forums() {
if ($days) {
if ($user->create_time < time() - $days*86400) continue;
}
if ($user->teamid) {
continue;
}
$n = BoincHost::count("userid=$p->userid");
if ($n) continue;
delete_user($user);