diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2020-11-26 16:44:20 +0100 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2020-12-04 17:05:22 +0100 |
commit | cbb34af53f0e6a85375ef9223a9dd74b9ba646ce (patch) | |
tree | e1d0cf3eb914a7d1dc255a24af4785e7aa56f4c5 /lib/private/Updater.php | |
parent | f0862dcfaa0eee98a8cd5183f37cb92e96f5767a (diff) | |
download | nextcloud-server-cbb34af53f0e6a85375ef9223a9dd74b9ba646ce.tar.gz nextcloud-server-cbb34af53f0e6a85375ef9223a9dd74b9ba646ce.zip |
Do not update incompatible apps
Previously there was no (platform) dependency check for an app that was
installed before. So Nextcloud happily upgraded an app that now requires
a php version newer than the current one. Which means in the lucky case
you see a failing upgrade due to the language incompatibility, or in the
unlucky case you see unexpected errors later in production.
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'lib/private/Updater.php')
-rw-r--r-- | lib/private/Updater.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Updater.php b/lib/private/Updater.php index 437ba38362c..b9b72dd7fa4 100644 --- a/lib/private/Updater.php +++ b/lib/private/Updater.php @@ -360,7 +360,7 @@ class Updater extends BasicEmitter { $disabledApps = []; $appManager = \OC::$server->getAppManager(); foreach ($apps as $app) { - // check if the app is compatible with this version of ownCloud + // check if the app is compatible with this version of Nextcloud $info = OC_App::getAppInfo($app); if ($info === null || !OC_App::isAppCompatible($version, $info)) { if ($appManager->isShipped($app)) { |