MDL-39474 introduce $CFG->debugdeveloper and cleanup $CFG init
This commit is contained in:
@@ -360,7 +360,7 @@ abstract class editor_tinymce_plugin {
|
||||
// Version number comes from plugin version.php, except in developer
|
||||
// mode where the special string 'dev' is used (prevents cacheing and
|
||||
// serves unminified JS).
|
||||
if (debugging('', DEBUG_DEVELOPER)) {
|
||||
if ($CFG->debugdeveloper) {
|
||||
$version = '-1';
|
||||
} else {
|
||||
$version = $this->get_version();
|
||||
|
||||
Reference in New Issue
Block a user