mirror of
https://github.com/nextcloud/server.git
synced 2026-06-09 00:32:29 -04:00
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:
commit
e4f06e102f
1 changed files with 7 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue