diff --git a/client/client_state.h b/client/client_state.h index 9db2209e16..a3b074ba89 100644 --- a/client/client_state.h +++ b/client/client_state.h @@ -675,6 +675,5 @@ extern THREAD throttle_thread; #endif #define NEED_NETWORK_MSG _("BOINC can't access Internet - check network connection or proxy configuration.") -#define NO_WORK_MSG _("Your settings do not allow fetching tasks for") #endif diff --git a/client/cs_notice.cpp b/client/cs_notice.cpp index d57bd40c9d..b285824c3d 100644 --- a/client/cs_notice.cpp +++ b/client/cs_notice.cpp @@ -544,9 +544,6 @@ void NOTICES::remove_notices(PROJECT* p, int which) { case REMOVE_SCHEDULER_MSG: remove = !strcmp(n.category, "scheduler"); break; - case REMOVE_NO_WORK_MSG: - remove = !strstr(n.description.c_str(), NO_WORK_MSG); - break; case REMOVE_CONFIG_MSG: remove = (strstr(n.description.c_str(), "cc_config.xml") != NULL); break; diff --git a/client/cs_notice.h b/client/cs_notice.h index c69e38c925..97b1c5ed9a 100644 --- a/client/cs_notice.h +++ b/client/cs_notice.h @@ -88,8 +88,6 @@ struct NOTICES { // "need network access" notice #define REMOVE_SCHEDULER_MSG 1 // msgs from scheduler -#define REMOVE_NO_WORK_MSG 2 - // msgs about no work due to settings #define REMOVE_CONFIG_MSG 3 // notices about cc_config.xml #define REMOVE_APP_INFO_MSG 4 diff --git a/client/project.cpp b/client/project.cpp index b349f088e8..039fe6e746 100644 --- a/client/project.cpp +++ b/client/project.cpp @@ -984,51 +984,31 @@ void PROJECT::check_no_apps() { } } -// show a notice if we can't get work from this project, -// and there's something the user could do about it. +// show devices this project is not allowed to compute for +// because of a user setting // void PROJECT::show_no_work_notice() { - bool some_banned = false; for (int i=0; i