[Pkg-owncloud-commits] [owncloud] 76/131: Allow upgrade of not enabled apps

David Prévot taffit at moszumanska.debian.org
Tue Aug 11 15:58:34 UTC 2015


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to annotated tag v8.1.1
in repository owncloud.

commit d4cc4019fda3434b092512ccd4fc01ebd3b8bcb1
Author: Thomas Müller <thomas.mueller at tmit.eu>
Date:   Thu Jul 9 12:37:57 2015 +0200

    Allow upgrade of not enabled apps
---
 lib/private/app.php | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/lib/private/app.php b/lib/private/app.php
index 5ce64f2..ab3430b 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';

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list