From 9a7362dd0d4e0f738089302329ce10817377433e Mon Sep 17 00:00:00 2001 From: Morris Jobke Date: Fri, 28 Nov 2014 18:38:49 +0100 Subject: drop unused isDebugMode and setDebugMode of OC_Config --- lib/private/config.php | 18 ------------------ 1 file changed, 18 deletions(-) (limited to 'lib') diff --git a/lib/private/config.php b/lib/private/config.php index cc07d6a1ed1..8544de34b72 100644 --- a/lib/private/config.php +++ b/lib/private/config.php @@ -39,24 +39,6 @@ class Config { $this->debugMode = (defined('DEBUG') && DEBUG); } - /** - * Enables or disables the debug mode - * @param bool $state True to enable, false to disable - */ - public function setDebugMode($state) { - $this->debugMode = $state; - $this->writeData(); - $this->cache; - } - - /** - * Returns whether the debug mode is enabled or disabled - * @return bool True when enabled, false otherwise - */ - public function isDebugMode() { - return $this->debugMode; - } - /** * Lists all available config keys * @return array an array of key names -- cgit v1.2.3