MDL-61667 analytics: Deprecate the add_builtin_models() method
authorDavid Mudrák <david@moodle.com>
Tue, 12 Mar 2019 07:50:47 +0000 (08:50 +0100)
committerDavid Mudrák <david@moodle.com>
Mon, 1 Apr 2019 12:23:06 +0000 (14:23 +0200)
commit3b7c7918f3a4bb03e03816dba0df2506f33d6c3d
tree43de7ee7d9a16ecb677cfc01d94acf1c16d79e53
parent6187213f39598a526d3813382963ebde86338aac
MDL-61667 analytics: Deprecate the add_builtin_models() method

The functionality of the \core_analytics\manager::add_builtin_models()
method is to be 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 will be done by updating the
lib/db/analytics.php file and bumping the core version.
analytics/classes/manager.php
analytics/tests/model_test.php
analytics/upgrade.txt
lib/db/install.php