MDL-43489 JavaScript: Remove deprecated js_gallery_module from 2.7

This patch removes the deprecated js_gallery_module from Moodle 2.7. It was
deprecated well before Moodle 2.0.
This commit is contained in:
Andrew Nicols 2013-12-23 15:27:49 +08:00
parent edd9bb451c
commit 2901378c36

View File

@ -954,23 +954,6 @@ class page_requirements_manager {
$this->jscalls[$where][] = array($function, $arguments, $delay);
}
/**
* Adds a call to make use of a YUI gallery module. DEPRECATED DO NOT USE!!!
*
* @deprecated DO NOT USE
*
* @param string|array $modules One or more gallery modules to require
* @param string $version
* @param string $function
* @param array $arguments
* @param bool $ondomready
*/
public function js_gallery_module($modules, $version, $function, array $arguments = null, $ondomready = false) {
global $CFG;
debugging('This function will be removed before 2.0 is released please change it from js_gallery_module to yui_module', DEBUG_DEVELOPER);
$this->yui_module($modules, $function, $arguments, $version, $ondomready);
}
/**
* Creates a JavaScript function call that requires one or more modules to be loaded.
*