moodle/mod/upgrade.txt
2009-04-22 21:03:38 +00:00

24 lines
844 B
Plaintext

This files describes API changes in /mod/* - activity modules,
information provided here is intended especially for developers.
=== 2.0 ===
required changes in code:
* use new DML syntax everywhere
* use new DDL syntax in db/upgrade.php
* replace defaults.php by settings.php and db/install.php
* replace STATEMENTS section in db/install.xml by db/install.php
* move post instalation code from lib.php into db/install.php
* completely rewrite file handling
* rewrite backup/restore
* rewrite trusstext support - new db table columns needed
* migrade all module features from mod_edit.php form to lib.php/modulename_supports() function
* implement new gradebook support (legacy 1.8.x grading not supported anymore)
optional - no changes needed in older code:
* portfolio support
* course completion tracking support
TODO: add links to docs