Merge branch 'MDL-64739_master-fix' of git://github.com/dmonllao/moodle
This commit is contained in:
@@ -122,7 +122,6 @@ switch ($action) {
|
||||
|
||||
$invalidcurrenttimesplitting = $model->invalid_timesplitting_selected();
|
||||
$potentialtimesplittings = $model->get_potential_timesplittings();
|
||||
$analyser = $model->get_analyser();
|
||||
|
||||
$customdata = array(
|
||||
'id' => $model->get_id(),
|
||||
@@ -134,7 +133,7 @@ switch ($action) {
|
||||
'indicators' => $model->get_potential_indicators(),
|
||||
'timesplittings' => $potentialtimesplittings,
|
||||
'predictionprocessors' => \core_analytics\manager::get_all_prediction_processors(),
|
||||
'supportscontexts' => ($analyser)::context_restriction_support(),
|
||||
'supportscontexts' => ($model->get_analyser(['notimesplitting' => true]))::context_restriction_support(),
|
||||
'contexts' => $model->get_contexts(),
|
||||
);
|
||||
$mform = new \tool_analytics\output\form\edit_model(null, $customdata);
|
||||
|
||||
Reference in New Issue
Block a user