summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMorris Jobke <morris.jobke@gmail.com>2014-01-18 08:13:57 -0800
committerMorris Jobke <morris.jobke@gmail.com>2014-01-18 08:13:57 -0800
commit3a2e03a7f0a0f07511282365df6e05cfd6b2f532 (patch)
treeed8277e548a20030b9e684a9798f26141b79eb05 /lib
parent419d2d27e8ce38c1ede455a24ad20ac27fd177b0 (diff)
parent817b49af581631ea641716291e2e5def44ec8c5d (diff)
downloadnextcloud-server-3a2e03a7f0a0f07511282365df6e05cfd6b2f532.tar.gz
nextcloud-server-3a2e03a7f0a0f07511282365df6e05cfd6b2f532.zip
Merge pull request #6784 from owncloud/fix-activation-of-unknown-apps
Fix activation of unknown apps
Diffstat (limited to 'lib')
-rw-r--r--lib/private/installer.php3
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