mirror of
https://github.com/moodle/moodle.git
synced 2025-03-14 04:30:15 +01:00
Merge branch 'MDL-36099-master' of git://git.luns.net.uk/moodle
This commit is contained in:
commit
737492f1a5
@ -677,9 +677,13 @@ class page_requirements_manager {
|
||||
* @param string $galleryversion The gallery version to use
|
||||
* @param bool $ondomready
|
||||
*/
|
||||
public function yui_module($modules, $function, array $arguments = null, $galleryversion = '2010.04.08-12-35', $ondomready = false) {
|
||||
public function yui_module($modules, $function, array $arguments = null, $galleryversion = null, $ondomready = false) {
|
||||
global $CFG;
|
||||
|
||||
if (!$galleryversion) {
|
||||
$galleryversion = '2010.04.08-12-35';
|
||||
}
|
||||
|
||||
if (!is_array($modules)) {
|
||||
$modules = array($modules);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user