Permalink
Browse files

MDL-33811 Fixed left over debugging code preventing proper setting of…

… YUI gallery version
  • Loading branch information...
1 parent 4557b47 commit b6c63cfcc64b2a70203fbbe1eff86c6b9cac88f3 Sam Hemelryk committed Jun 18, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/outputrequirementslib.php
@@ -713,7 +713,7 @@ public function yui_module($modules, $function, array $arguments = null, $galler
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 {

0 comments on commit b6c63cf

Please sign in to comment.