[Pkg-owncloud-commits] [owncloud] 65/70: Merge pull request #10440 from owncloud/enforce-debug

David Prévot taffit at moszumanska.debian.org
Thu Aug 21 17:40:12 UTC 2014


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

taffit pushed a commit to annotated tag v6.0.5RC1
in repository owncloud.

commit 6d6dfe23297f24e4f97293137b9744036b02f5de
Author: Clark Tomlinson <fallen013 at gmail.com>
Date:   Fri Aug 15 09:03:29 2014 -0400

    Merge pull request #10440 from owncloud/enforce-debug
    
    Remove ability to trigger DEBUG mode via cookie
---
 lib/base.php | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/lib/base.php b/lib/base.php
index b442935..5d7408e 100644
--- a/lib/base.php
+++ b/lib/base.php
@@ -495,13 +495,6 @@ class OC {
 		}
 		OC_Util::isSetLocaleWorking();
 
-		// set debug mode if an xdebug session is active
-		if (!defined('DEBUG') || !DEBUG) {
-			if (isset($_COOKIE['XDEBUG_SESSION'])) {
-				define('DEBUG', true);
-			}
-		}
-
 		if (!defined('PHPUNIT_RUN')) {
 			if (defined('DEBUG') and DEBUG) {
 				OC\Log\ErrorHandler::register(true);

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