moodle/report/upgrade.txt
Petr Skoda e30cc24c0d MDL-29030 make admin reports general reports
AMOS BEGIN
 CPY [pluginname,coursereport_log],[pluginname,report_log]
 CPY [pluginname,coursereport_stats],[pluginname,report_stats]
AMOS END
2011-11-06 12:22:45 +01:00

20 lines
662 B
Plaintext

This files describes API changes in /report/* - plugins,
information provided here is intended especially for developers.
=== 2.2 ===
API changes:
* reports were moved from /admin/report/ to /report/
* new support for report settings
How to migrate old admin reports:
# copy all files to new /report/yourplugin/ location
# if settings.php exists add $settings=null;
# if settings.php does not exist create it and link the report, index.php is not linked automatically any more
# update require('../../config.php'); - remove one ../
# update all links to report pages by removing /admin/ or /$CFG->admin/
# add language pack with at least pluginname string