diff options
author | Morris Jobke <hey@morrisjobke.de> | 2015-07-20 14:24:22 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2015-07-20 14:24:22 +0200 |
commit | f1df6cd4ff67fe9ad27e09dd5071f8ed2566fe36 (patch) | |
tree | 7302b923c646f8bf89fe649f4c8ec4527d7c39ca | |
parent | ff8e63c991ba9d7a956ba637de6e8e86eb4bdfec (diff) | |
parent | d4cc4019fda3434b092512ccd4fc01ebd3b8bcb1 (diff) | |
download | nextcloud-server-f1df6cd4ff67fe9ad27e09dd5071f8ed2566fe36.tar.gz nextcloud-server-f1df6cd4ff67fe9ad27e09dd5071f8ed2566fe36.zip |
Merge pull request #17736 from owncloud/backport-allow-update-of-disabled-apps
[stable8.1] Allow upgrade of not enabled apps
-rw-r--r-- | lib/private/app.php | 4 |
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'; |