You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
help: 'Checks for the availability of updates for server and all enabled apps.'
23
+
)]
18
24
class Check extends Command {
19
25
20
26
publicfunction__construct(
@@ -25,24 +31,16 @@ public function __construct(
25
31
parent::__construct();
26
32
}
27
33
28
-
protectedfunctionconfigure(): void {
29
-
$this
30
-
->setName('update:check')
31
-
->setDescription('Check for server and app updates')
32
-
;
33
-
}
34
-
35
34
protectedfunctionexecute(InputInterface$input, OutputInterface$output): int {
36
35
$updatesAvailableCount = 0;
37
36
38
37
// Server
39
38
$r = $this->updateChecker->getUpdateState();
40
39
if (isset($r['updateAvailable']) && $r['updateAvailable']) {
41
-
$output->writeln($r['updateVersionString'] . ' is available. Get more information on how to update at ' . $r['updateLink'] . '.');
40
+
$output->writeln('Update for server to version ' . $r['updateVersionString'] . ' is available. Get more information on how to update at ' . $r['updateLink'] . '.');
0 commit comments