Skip to content

Commit

Permalink
MDL-33811 Fixed left over debugging code preventing proper setting of…
Browse files Browse the repository at this point in the history
… YUI gallery version
  • Loading branch information
Sam Hemelryk committed Jun 18, 2012
1 parent 4557b47 commit b6c63cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/outputrequirementslib.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit b6c63cf

Please sign in to comment.