diff options
author | Julius Härtl <jus@bitgrid.net> | 2018-03-28 11:12:56 +0200 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2018-03-28 11:12:56 +0200 |
commit | eb6e5a27a34060b7e410fd8013ce12134cda7f68 (patch) | |
tree | e23abc19471cb3004e890fafe19c53a323bc9061 /lib/private/Updater.php | |
parent | 2124ebae72409d6d9da7221a558cddacb3145d74 (diff) | |
download | nextcloud-server-eb6e5a27a34060b7e410fd8013ce12134cda7f68.tar.gz nextcloud-server-eb6e5a27a34060b7e410fd8013ce12134cda7f68.zip |
Do not fail hard if no appinfo is returned during update
Signed-off-by: Julius Härtl <jus@bitgrid.net>
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 4dc8edc0272..49a4a1094ed 100644 --- a/lib/private/Updater.php +++ b/lib/private/Updater.php @@ -391,7 +391,7 @@ class Updater extends BasicEmitter { foreach ($apps as $app) { // check if the app is compatible with this version of ownCloud $info = OC_App::getAppInfo($app); - if(!OC_App::isAppCompatible($version, $info)) { + if($info === null || !OC_App::isAppCompatible($version, $info)) { if ($appManager->isShipped($app)) { throw new \UnexpectedValueException('The files of the app "' . $app . '" were not correctly replaced before running the update'); } |