mirror of
https://github.com/moodle/moodle.git
synced 2025-04-23 09:23:09 +02:00
MDL-66367 core: make templaterev available in JS
This commit is contained in:
parent
e63395bbed
commit
988482f077
@ -331,7 +331,8 @@ class page_requirements_manager {
|
||||
'svgicons' => $page->theme->use_svg_icons(),
|
||||
'usertimezone' => usertimezone(),
|
||||
'contextid' => $contextid,
|
||||
'langrev' => get_string_manager()->get_revision()
|
||||
'langrev' => get_string_manager()->get_revision(),
|
||||
'templaterev' => $this->get_templaterev()
|
||||
);
|
||||
if ($CFG->debugdeveloper) {
|
||||
$this->M_cfg['developerdebug'] = true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user