summaryrefslogtreecommitdiffstats
path: root/lib/private/app.php
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2015-07-09 12:37:57 +0200
committerLukas Reschke <lukas@owncloud.com>2015-07-19 12:16:15 +0200
commitd4cc4019fda3434b092512ccd4fc01ebd3b8bcb1 (patch)
treeeb2900b9af6b9c82b2116bb6be00baa0eb8262cb /lib/private/app.php
parent6383bd3744b4773e239c576e2af8d96be197472d (diff)
downloadnextcloud-server-d4cc4019fda3434b092512ccd4fc01ebd3b8bcb1.tar.gz
nextcloud-server-d4cc4019fda3434b092512ccd4fc01ebd3b8bcb1.zip
Allow upgrade of not enabled apps
Diffstat (limited to 'lib/private/app.php')
-rw-r--r--lib/private/app.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/private/app.php b/lib/private/app.php
index 5ce64f2ce32..ab3430bd51a 100644
--- a/lib/private/app.php
+++ b/lib/private/app.php
@@ -1168,9 +1168,7 @@ class OC_App {
OC_DB::updateDbFromStructure(self::getAppPath($appId) . '/appinfo/database.xml');
}
unset(self::$appVersion[$appId]);
- if (!self::isEnabled($appId)) {
- return false;
- }
+ // run upgrade code
if (file_exists(self::getAppPath($appId) . '/appinfo/update.php')) {
self::loadApp($appId, false);
include self::getAppPath($appId) . '/appinfo/update.php';