summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2013-03-21 20:36:40 +0100
committerBart Visscher <bartv@thisnet.nl>2013-09-19 18:14:27 +0200
commitca88cf93ae929c8bd35e92665958c34b65701493 (patch)
tree6c7c7f82a20aa4adc9ca64a3d07fd450815fae91 /lib
parentc546874159d7880e3c8665eaaa7ae9a42b66adbb (diff)
downloadnextcloud-server-ca88cf93ae929c8bd35e92665958c34b65701493.tar.gz
nextcloud-server-ca88cf93ae929c8bd35e92665958c34b65701493.zip
check for valid appinfo in installer
Diffstat (limited to 'lib')
-rw-r--r--lib/installer.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/installer.php b/lib/installer.php
index e082c7eeee9..89358e78277 100644
--- a/lib/installer.php
+++ b/lib/installer.php
@@ -396,6 +396,9 @@ class OC_Installer{
include OC_App::getAppPath($app)."/appinfo/install.php";
}
$info=OC_App::getAppInfo($app);
+ if (is_null($info)) {
+ return;
+ }
OC_Appconfig::setValue($app, 'installed_version', OC_App::getAppVersion($app));
//set remote/public handelers