Merge branch 'MDL-84625_close-recordset-in-core_analytics-model-add_prediction_ids' of https://github.com/ziegenberg/moodle

This commit is contained in:
Huong Nguyen
2025-04-17 10:27:39 +07:00
+1
View File
@@ -1925,6 +1925,7 @@ class model {
$uniqueid = $this->get_time_splitting()->append_rangeindex($dbprediction->sampleid, $dbprediction->rangeindex);
$predictionrecords[$uniqueid]->id = $dbprediction->id;
}
$dbpredictions->close();
}
return $predictionrecords;