mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
MDL-65582 analytics: Upcoming activities due enabled by default
This commit is contained in:
parent
6a7451ff1b
commit
bc2f679bca
4 changed files with 14 additions and 5 deletions
|
@ -3421,5 +3421,12 @@ function xmldb_main_upgrade($oldversion) {
|
|||
upgrade_main_savepoint(true, 2019050600.00);
|
||||
}
|
||||
|
||||
if ($oldversion < 2019051100.02) {
|
||||
$DB->set_field('analytics_models', 'enabled', '1', ['target' => '\core_user\analytics\target\upcoming_activities_due']);
|
||||
|
||||
// Main savepoint reached.
|
||||
upgrade_main_savepoint(true, 2019051100.02);
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue