MDL-39474 introduce $CFG->debugdeveloper and cleanup $CFG init
This commit is contained in:
+2
-1
@@ -1678,7 +1678,8 @@ class xhtml_container_stack {
|
||||
* Constructor
|
||||
*/
|
||||
public function __construct() {
|
||||
$this->isdebugging = debugging('', DEBUG_DEVELOPER);
|
||||
global $CFG;
|
||||
$this->isdebugging = $CFG->debugdeveloper;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user