summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorClark Tomlinson <fallen013@gmail.com>2014-08-15 09:03:29 -0400
committerClark Tomlinson <fallen013@gmail.com>2014-08-15 09:03:29 -0400
commit1fff77f5de6f0cd3810a23f5b666452a5769bb1c (patch)
tree77193dabedf0380881333776080d4db2d5c53096 /lib
parent98fc56831d4f7131a50b62b770ba265df5817ee4 (diff)
parenta4a897d26d15202f2cebbaa179555674d2dc19e5 (diff)
downloadnextcloud-server-1fff77f5de6f0cd3810a23f5b666452a5769bb1c.tar.gz
nextcloud-server-1fff77f5de6f0cd3810a23f5b666452a5769bb1c.zip
Merge pull request #10440 from owncloud/enforce-debug
Remove ability to trigger DEBUG mode via cookie
Diffstat (limited to 'lib')
-rw-r--r--lib/base.php7
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/base.php b/lib/base.php
index ab1d8e98231..c3384fbeeea 100644
--- a/lib/base.php
+++ b/lib/base.php
@@ -491,13 +491,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) {