MDL-51784 general: Adding missing php4 style constructors
Adding them to maintain backwards compatibility.
This commit is contained in:
@@ -4941,6 +4941,13 @@ class admin_setting_special_gradelimiting extends admin_setting_configcheckbox {
|
||||
get_string('unlimitedgrades_help', 'grades'), '0', '1', '0');
|
||||
}
|
||||
|
||||
/**
|
||||
* Old syntax of class constructor. Deprecated in PHP7.
|
||||
*/
|
||||
public function admin_setting_special_gradelimiting() {
|
||||
self::__construct();
|
||||
}
|
||||
|
||||
/**
|
||||
* Force site regrading
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user