-
Sub-task
-
Resolution: Fixed
-
Minor
-
2.0
-
- Check that there are no regressions in: mod_book, mod_imscp, mod_page, mod_resource, mm-external-content, mm-file.
-
MOODLE_20_STABLE
-
MOODLE_20_STABLE
When I developed the filepool I thought that it would be better to keep out the logic about converting the plugin files. Especially that we need the site token in order to convert to a pluginfile.
However, the site ID is passed to all methods, and so can be used to retrieve the site token. This adds promises to the be resolved, but it removes the confusion when dealing with the filepool.
At the moment I am leaning towards making the pluginfile handling magic in the filepool.
This issue can be dealt with later.
Reference of work where this appears to be useful: MOBILE-999, MOBILE-1006.