1
0
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:
Mark Nelson 2019-08-12 22:12:58 +08:00
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;