Merge pull request #56034 from nextcloud/enh/noid/appmanager-upgrade-info-log

enh(AppManager): log which apps requires the upgrade procedure
This commit is contained in:
Ferdinand Thiessen 2025-10-28 15:52:28 +01:00 committed by GitHub
commit e4f06e102f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1115,6 +1115,13 @@ class AppManager implements IAppManager {
if ($currentVersion && isset($versions[$appId])) {
$installedVersion = $versions[$appId];
if (!version_compare($currentVersion, $installedVersion, '=')) {
$this->logger->info('{appId} needs and upgrade from {from} to {to}',
[
'appId' => $appId,
'from' => $installedVersion,
'to' => $currentVersion,
]
);
return true;
}
}