mirror of https://github.com/BOINC/boinc.git
user web: prevent users with RAC < 1 become a user of the day (protection from spam)
svn path=/trunk/boinc/; revision=13567
This commit is contained in:
parent
b42927889c
commit
2692557dd5
|
@ -8385,9 +8385,15 @@ David 11 Sept 2007
|
|||
user_graph.php
|
||||
|
||||
Reinhard 11 Sept 2007
|
||||
- initialize local 'struct sigaction' variable to zero in xwin_graphics_event_loop()
|
||||
- initialize local 'struct sigaction' variable to zero in
|
||||
xwin_graphics_event_loop()
|
||||
|
||||
api/
|
||||
x_opengl.C
|
||||
x_opengl.C
|
||||
|
||||
|
||||
Rytis 11 Sep 2007
|
||||
- user web: prevent users with RAC < 1 become a user of the day
|
||||
(protection from spam)
|
||||
|
||||
html/inc/uotd.inc
|
||||
|
|
@ -120,8 +120,8 @@ function default_uotd_candidates_query(){
|
|||
$query .= "ORDER BY RAND()";
|
||||
} else {
|
||||
$query = "SELECT * FROM profile,user WHERE profile.userid=user.id ";
|
||||
$query .= " AND verification=1 ";
|
||||
$query .= " AND uotd_time IS NULL ";
|
||||
$query .= "AND expavg_credit>1 ";
|
||||
$query .= "AND uotd_time IS NULL ";
|
||||
$query .= "ORDER BY RAND()";
|
||||
}
|
||||
return $query;
|
||||
|
|
Loading…
Reference in New Issue