diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2014-01-15 17:11:29 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2014-01-15 17:11:29 +0100 |
commit | 7f68497b39db9528975862a091effe03fc802f91 (patch) | |
tree | ecd2905b6dd1bdad6793d4f597dc9ba04b697331 /lib/private/installer.php | |
parent | bd643c47f32ba6d7b3ba6a18ed1591aab0b81be8 (diff) | |
download | nextcloud-server-7f68497b39db9528975862a091effe03fc802f91.tar.gz nextcloud-server-7f68497b39db9528975862a091effe03fc802f91.zip |
error handling in case a requested app doesn't exists
Diffstat (limited to 'lib/private/installer.php')
-rw-r--r-- | lib/private/installer.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/private/installer.php b/lib/private/installer.php index 8375b231e9b..835b6b4c01a 100644 --- a/lib/private/installer.php +++ b/lib/private/installer.php @@ -407,6 +407,9 @@ class OC_Installer{ include OC_App::getAppPath($app)."/appinfo/install.php"; } $info=OC_App::getAppInfo($app); + if (is_null($info)) { + return false; + } OC_Appconfig::setValue($app, 'installed_version', OC_App::getAppVersion($app)); //set remote/public handelers |