[Pkg-owncloud-commits] [owncloud] 23/223: always return a bool in OC_App::updateApp

David Prévot taffit at moszumanska.debian.org
Sun Jun 22 01:54:01 UTC 2014


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

taffit pushed a commit to branch master
in repository owncloud.

commit 6bf06890e7934d3145ded0db4f63307dfd740598
Author: Georg Ehrke <developer at georgehrke.com>
Date:   Tue Jun 10 13:56:05 2014 +0200

    always return a bool in OC_App::updateApp
---
 lib/private/app.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/private/app.php b/lib/private/app.php
index 15577ce..f4368bf 100644
--- a/lib/private/app.php
+++ b/lib/private/app.php
@@ -1163,7 +1163,7 @@ class OC_App {
 			OC_DB::updateDbFromStructure(self::getAppPath($appid) . '/appinfo/database.xml');
 		}
 		if (!self::isEnabled($appid)) {
-			return;
+			return false;
 		}
 		if (file_exists(self::getAppPath($appid) . '/appinfo/update.php')) {
 			self::loadApp($appid);

-- 
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