mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +02:00
MDL-67063 output: make public get_jsrev method
This commit is contained in:
parent
9df2f66fb4
commit
06299fc604
2 changed files with 2 additions and 1 deletions
|
@ -400,7 +400,7 @@ class page_requirements_manager {
|
||||||
*
|
*
|
||||||
* @return int the jsrev to use.
|
* @return int the jsrev to use.
|
||||||
*/
|
*/
|
||||||
protected function get_jsrev() {
|
public function get_jsrev() {
|
||||||
global $CFG;
|
global $CFG;
|
||||||
|
|
||||||
if (empty($CFG->cachejs)) {
|
if (empty($CFG->cachejs)) {
|
||||||
|
|
|
@ -34,6 +34,7 @@ information provided here is intended especially for developers.
|
||||||
* Added function cleanup_after_drop to the database_manager class to take care of all the cleanups that need to be done after a table is dropped.
|
* Added function cleanup_after_drop to the database_manager class to take care of all the cleanups that need to be done after a table is dropped.
|
||||||
* The 'xxxx_check_password_policy' callback now only fires if $CFG->passwordpolicy is true
|
* The 'xxxx_check_password_policy' callback now only fires if $CFG->passwordpolicy is true
|
||||||
* grade_item::update_final_grade() can now take an optional parameter to set the grade->timemodified. If not present the current time will carry on being used.
|
* grade_item::update_final_grade() can now take an optional parameter to set the grade->timemodified. If not present the current time will carry on being used.
|
||||||
|
* lib/outputrequirementslib::get_jsrev now is public, it can be called from other classes.
|
||||||
|
|
||||||
=== 3.8 ===
|
=== 3.8 ===
|
||||||
* Add CLI option to notify all cron tasks to stop: admin/cli/cron.php --stop
|
* Add CLI option to notify all cron tasks to stop: admin/cli/cron.php --stop
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue