Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

… YUI gallery version
  • Loading branch information...
commit 13d01b333895a8032a11ed9f01a88ba8acb4c2ce 1 parent b7f81b1
Sam Hemelryk samhemelryk authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/outputrequirementslib.php
2  lib/outputrequirementslib.php
View
@@ -708,7 +708,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 {
Please sign in to comment.
Something went wrong with that request. Please try again.