[Pkg-owncloud-commits] [owncloud] 20/394: check if RUNTIME_NOAPPS is set before using it

David Prévot taffit at alioth.debian.org
Fri Nov 8 23:11:17 UTC 2013


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

taffit pushed a commit to annotated tag v4.5.10
in repository owncloud.

commit 77b57fbbfee408cfd74fe265ef9763ab033c51db
Author: Arthur Schiwon <blizzz at owncloud.com>
Date:   Sun Oct 28 15:10:15 2012 +0100

    check if RUNTIME_NOAPPS is set before using it
---
 lib/util.php |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/util.php b/lib/util.php
index 4dc2530..7b15919 100755
--- a/lib/util.php
+++ b/lib/util.php
@@ -25,7 +25,7 @@ class OC_Util {
 		}
 
 		// load all filesystem apps before, so no setup-hook gets lost
-		if(!$RUNTIME_NOAPPS) {
+		if(!isset($RUNTIME_NOAPPS) || !$RUNTIME_NOAPPS) {
 			OC_App::loadApps(array('filesystem'));
 		}
 

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