MDL-64783 analytics: Improvements to the insights system

This commit is contained in:
David Monllaó
2019-04-09 00:26:23 +02:00
committed by Eloy Lafuente (stronk7)
parent 50935afba4
commit e85c2f372b
21 changed files with 197 additions and 76 deletions
+1 -1
View File
@@ -916,7 +916,7 @@ class model {
return $prediction;
}, $predictionrecords);
} else {
$predictions = false;
$predictions = [];
}
$this->get_target()->generate_insight_notifications($this->model->id, $samplecontexts, $predictions);