From d898238081546ef7be9f42528c296bc4c11ece0f Mon Sep 17 00:00:00 2001 From: Petr Skoda Date: Tue, 22 Nov 2011 11:02:30 +0100 Subject: [PATCH] MDL-30403 add upgrade docs for admin tools --- admin/tool/upgrade.txt | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 admin/tool/upgrade.txt diff --git a/admin/tool/upgrade.txt b/admin/tool/upgrade.txt new file mode 100644 index 00000000000..3af7d3a1b29 --- /dev/null +++ b/admin/tool/upgrade.txt @@ -0,0 +1,21 @@ +This files describes API changes in /admin/tool/* - plugins, +information provided here is intended especially for developers. + + +=== 2.2 === + +API changes: +* new admin tool plugin type introduced + + +How to migrate existing admin reports: +# move all files to new /admin/tool/yourplugin/ location +# update all links to admin tools /$CFG->admin/report/ to /$CFG->admin/tool/ +# add language pack with at least 'pluginname' string +# update all language strings (use 'tool_yourplugin' instead of 'report_yourplugin') - use AMOS hints in commit message +# update all capability names +# create db/install.php migration script - delete old settings and capabilities (see converted plugins for examples) +# grep the plugin codebase and look for any remaining 'coursereport' occurrences +# update CSS selectors + +See http://docs.moodle.org/dev/Admin_tools for more details and explanation. -- 2.43.0