summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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) {