Skip to content

Commit 68bff25

Browse files
committed
enh(AppManager): log which apps requires the upgrade procedure
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
1 parent 6ef91f0 commit 68bff25

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

lib/private/App/AppManager.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1115,6 +1115,13 @@ public function isUpgradeRequired(string $appId): bool {
11151115
if ($currentVersion && isset($versions[$appId])) {
11161116
$installedVersion = $versions[$appId];
11171117
if (!version_compare($currentVersion, $installedVersion, '=')) {
1118+
$this->logger->info('{appId} needs and upgrade from {from} to {to}',
1119+
[
1120+
'appId' => $appId,
1121+
'from' => $installedVersion,
1122+
'to' => $currentVersion,
1123+
]
1124+
);
11181125
return true;
11191126
}
11201127
}

0 commit comments

Comments
 (0)