Don't try to fetch subscriptions, news, or plugin updates while in VM Comm system

This commit is contained in:
zzz
2015-09-19 19:06:07 +00:00
parent 2a3b55f3a4
commit cfc0664756
3 changed files with 13 additions and 1 deletions

View File

@ -99,6 +99,11 @@ class NewsFetcher extends UpdateRunner {
_log.warn("Cannot fetch news - HTTP client tunnel not running");
return;
}
if (shouldProxy && _context.commSystem().isDummy()) {
if (_log.shouldWarn())
_log.warn("Cannot fetch news - VM Comm system");
return;
}
for (URI uri : _urls) {
_currentURI = addLang(uri);