- client: don't fetch project list from boinc.berkeley.edu

if the <dont_contact_ref_site> config flag is set

svn path=/trunk/boinc/; revision=14340
This commit is contained in:
David Anderson 2007-12-01 22:57:24 +00:00
parent fa601671b6
commit 2b7ba67ab5
2 changed files with 8 additions and 0 deletions

View File

@ -12000,3 +12000,10 @@ David 1 Dec 2007
html/user/
team_edit_action.php
David 1 Dec 2007
- client: don't fetch project list from boinc.berkeley.edu
if the <dont_contact_ref_site> config flag is set
client/
acct_setup.C

View File

@ -308,6 +308,7 @@ void GET_PROJECT_LIST_OP::handle_reply(int http_op_retval) {
}
void CLIENT_STATE::all_projects_list_check() {
if (config.dont_contact_ref_site) return;
if (all_projects_list_check_time) {
if (now - all_projects_list_check_time < ALL_PROJECTS_LIST_CHECK_PERIOD) {
return;