Merge branch 'MDL-65186-master' of git://github.com/ilya-catalyst/moodle

This commit is contained in:
Andrew Nicols 2020-12-09 13:31:42 +08:00
commit 9b30fc2beb
2 changed files with 6 additions and 2 deletions

View File

@ -603,8 +603,8 @@ class manager {
*/
public static function add_builtin_models() {
debugging('core_analytics\manager::add_builtin_models() has been deprecated. Core models are now automatically '.
'updated according to their declaration in the lib/db/analytics.php file.', DEBUG_DEVELOPER);
throw new \coding_exception('core_analytics\manager::add_builtin_models() has been removed. Core models ' .
'are now automatically updated according to their declaration in the lib/db/analytics.php file.');
}
/**

View File

@ -4,6 +4,10 @@ information provided here is intended especially for developers.
=== 3.11 ===
* Final deprecation get_enabled_time_splitting_methods. Method has been removed. Use
get_time_splitting_methods_for_evaluation instead.
* Final deprecation add_builtin_models. Method has been removed. The functionality
has been replaced with automatic update of models provided by the core moodle component.
There is no need to call this method explicitly any more. Instead, adding new models can be achieved
by updating the lib/db/analytics.php file and bumping the core version.
=== 3.8 ===