mirror of https://github.com/BOINC/boinc.git
delete_spammers tweak
This commit is contained in:
parent
d6962a70f0
commit
780284b9fa
|
@ -98,6 +98,9 @@ function delete_forums() {
|
||||||
if ($days) {
|
if ($days) {
|
||||||
if ($user->create_time < time() - $days*86400) continue;
|
if ($user->create_time < time() - $days*86400) continue;
|
||||||
}
|
}
|
||||||
|
if ($user->teamid) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
$n = BoincHost::count("userid=$p->userid");
|
$n = BoincHost::count("userid=$p->userid");
|
||||||
if ($n) continue;
|
if ($n) continue;
|
||||||
delete_user($user);
|
delete_user($user);
|
||||||
|
|
Loading…
Reference in New Issue