mirror of
https://github.com/moodle/moodle.git
synced 2025-02-20 08:05:49 +01:00
MDL-33811 Fixed left over debugging code preventing proper setting of YUI gallery version
This commit is contained in:
parent
f4a9bf65da
commit
624ef76c2f
@ -749,7 +749,7 @@ class page_requirements_manager {
|
|||||||
if (!is_array($modules)) {
|
if (!is_array($modules)) {
|
||||||
$modules = array($modules);
|
$modules = array($modules);
|
||||||
}
|
}
|
||||||
if (empty($CFG->useexternalyui) || true) {
|
if (empty($CFG->useexternalyui)) {
|
||||||
// We need to set the M.yui.galleryversion to the correct version
|
// We need to set the M.yui.galleryversion to the correct version
|
||||||
$jscode = 'M.yui.galleryversion='.json_encode($galleryversion).';';
|
$jscode = 'M.yui.galleryversion='.json_encode($galleryversion).';';
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user