|
@@ -91,8 +91,7 @@ public class ForceUpdate extends DebugCommand {
|
91
|
91
|
public void execute(@Nonnull final WindowModel origin,
|
92
|
92
|
final CommandArguments args, final CommandContext context) {
|
93
|
93
|
if (globalConfig.getOptionBool("updater", "enable")) {
|
94
|
|
- UpdateChecker.checkNow(updateManager, identityController, eventBus,
|
95
|
|
- "Forced update checker");
|
|
94
|
+ UpdateChecker.checkNow(updateManager, identityController, "Forced update checker");
|
96
|
95
|
} else {
|
97
|
96
|
sendLine(origin, args.isSilent(), FORMAT_ERROR, "Update checking is "
|
98
|
97
|
+ "currently disabled. You can enable it by typing:");
|