MDL-27233 add new options to keep enrols and groups purging existing course in restore
[moodle.git] / report / upgrade.txt
blob6f9abb057cfef9b189ab3f06d79f4d66b6aa92d2
1 This files describes API changes in /report/* - plugins,
2 information provided here is intended especially for developers.
5 === 2.2 ===
7 API changes:
8 * reports were moved from /admin/report/ to /report/
9 * new support for report settings
12 How to migrate old admin reports:
13 # copy all files to new /report/yourplugin/ location
14 # if settings.php exists add $settings=null;
15 # if settings.php does not exist create it and link the report, index.php is not linked automatically any more
16 # update require('../../config.php'); - remove one ../
17 # update all links to report pages by removing /admin/ or /$CFG->admin/
18 # add language pack with at least pluginname string