mirror of
https://github.com/moodle/moodle.git
synced 2025-03-14 04:30:15 +01:00
Merge branch 'MDL-71973' of https://github.com/mohalisad/moodle
This commit is contained in:
commit
19b1f2f3d4
@ -137,7 +137,7 @@ if (!empty($validdatasets) && !$model->is_enabled() && $options['non-interactive
|
||||
}
|
||||
|
||||
// Refresh the instance to prevent unexpected issues.
|
||||
$model = new \core_analytics\model($modelobj);
|
||||
$model = new \core_analytics\model($options['modelid']);
|
||||
|
||||
// Set the time splitting method file and enable it.
|
||||
$model->enable($input);
|
||||
|
Loading…
x
Reference in New Issue
Block a user