MDL-33811 Fixed left over debugging code preventing proper setting of YUI gallery version

This commit is contained in:
Sam Hemelryk 2012-06-19 11:26:23 +12:00
parent f4a9bf65da
commit 624ef76c2f

View File

@ -749,7 +749,7 @@ class page_requirements_manager {
if (!is_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
$jscode = 'M.yui.galleryversion='.json_encode($galleryversion).';';
} else {