[AMOS commit] MDL-59116 analytics: Multiple predictions for each analysable time range Committed into Git: 2017-07-21 15:46 UTC

[AMOS commit] MDL-59116 analytics: Multiple predictions for each analysable time range Committed into Git: 2017-07-21 15:46 UTC

by AMOS bot -
Number of replies: 0
Author: David Monllao
MDL-59116 analytics: Multiple predictions for each analysable time range
Now we only predict using the most recent range available, this means
that if someone upgrades to moodle 3.4 at three quarters of a course
we will only calculate the latest range, previous ranges were not
displayed anyway once more recent predictions were available.

This commit deletes all previous predictions smile this shouldn't be a
problem in master as we don't provide any guarantee, the alternative
(retrive sampleids from mdl_files) would have been slow and a waste of
time as well as require horrible code in an upgrade step (text fields
do not accept defaults nor we can use NOTNULL).


http://git.moodle.org/gw?p=moodle.git;a=commit;h=00da1e601095b132a95f384dd6184e1cf1f17a75
http://github.com/moodle/moodle/commit/00da1e601095b132a95f384dd6184e1cf1f17a75

+ 3.4 en [nodata,core_analytics]
+ 3.4 en [nonewranges,core_analytics]
+ 3.4 en [noranges,core_analytics]