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

@ -157,6 +157,12 @@ public class PluginStarter implements Runnable {
Messages.getString("HTTP client proxy tunnel must be running", ctx));
return;
}
if (ctx.commSystem().isDummy()) {
mgr.notifyComplete(null, Messages.getString("Plugin update check failed", ctx) +
" - " +
"VM Comm System");
return;
}
Log log = ctx.logManager().getLog(PluginStarter.class);
int updated = 0;