[x] screenshots are included showing significant UI changes
[ ] documentation is changed or added
Description of change
This PR adds a new PHP file which provides the support for downloading a CSV of Moodle courses that will be affected by the migration.
Because Moodle does not provide a function that returns a list of courses which has specified modules, a couple SQL queries are used instead to minimise the number of db queries.
I also moved these new PHP files to a new directory.
Checklist
Description of change
This PR adds a new PHP file which provides the support for downloading a CSV of Moodle courses that will be affected by the migration.
Because Moodle does not provide a function that returns a list of courses which has specified modules, a couple SQL queries are used instead to minimise the number of db queries.
I also moved these new PHP files to a new directory.
https://github.com/openequella/moodle-mod_openEQUELLA/assets/47203811/6b72fbc5-3834-48c3-99cd-34ec55cc33aa