-
Bug
-
Resolution: Fixed
-
Minor
-
2.6
-
-
MOODLE_26_STABLE
-
MOODLE_26_STABLE
We usually calculate the revision and timemodified of a module using its list of files. In content handlers we use the full list of files (module.contents), that's the right way. In $mmFilepool#_downloadOrPrefetchPackage we don't have the full list, the list of files we're supplying has been filtered to remove the not downloadable files, so the calculation of revision and timemodified can be wrong.
Also, until now we've always used the FIRST file to calculate the revision and timemodified, maybe we should iterate over all the files and get the highest one.
- is a regression caused by
-
MOBILE-1297 New download all option (for downloading all the course contents)
- Closed