MDL-82284 core: Remove all PHP5 constructors
This commit is contained in:
committed by
meirzamoodle
parent
8316779bd9
commit
fc137eaa39
@@ -6096,16 +6096,6 @@ 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.
|
||||
*
|
||||
* @deprecated since Moodle 3.1
|
||||
*/
|
||||
public function admin_setting_special_gradelimiting() {
|
||||
debugging('Use of class name as constructor is deprecated', DEBUG_DEVELOPER);
|
||||
self::__construct();
|
||||
}
|
||||
|
||||
/**
|
||||
* Force site regrading
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user