mirror of
https://github.com/moodle/moodle.git
synced 2025-01-30 03:58:34 +01:00
MDL-62191 course: Remove predictiondetails leftover
The no_teaching model initially had just 1 indicator, the removed code was deleting the action using an unexisting key.
This commit is contained in:
parent
95fcf8769b
commit
af29098a2e
@ -129,8 +129,6 @@ class no_teaching extends \core_analytics\local\target\binary {
|
||||
}
|
||||
|
||||
$parentactions = parent::prediction_actions($prediction, $includedetailsaction);
|
||||
// No need to show details as there is only 1 indicator.
|
||||
unset($parentactions[\core_analytics\prediction::ACTION_PREDICTION_DETAILS]);
|
||||
|
||||
return array_merge($actions, $parentactions);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user