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

David Prévot taffit at moszumanska.debian.org
Thu Aug 21 16:44:37 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 1a2bae347ad734a82d042eb34aeff3558962026e
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 d08778e..85049bb 100644
--- a/lib/base.php
+++ b/lib/base.php
@@ -484,13 +484,6 @@ class OC {
 			require_once $vendorAutoLoad;
 		}
 
-		// 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')) {
 			OC\Log\ErrorHandler::setLogger(OC_Log::$object);
 			if (defined('DEBUG') and DEBUG) {

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