MDL-82284 core: Remove all PHP5 constructors

This commit is contained in:
Andrew Nicols
2026-01-01 05:20:12 +07:00
committed by meirzamoodle
parent 8316779bd9
commit fc137eaa39
109 changed files with 9 additions and 1200 deletions
-10
View File
@@ -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
*/