moodle/mod/upgrade.txt

22 lines
683 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
optional - no changes needed in older code:
* portfolio support
* course completion tracking support
* lib.php/xxx_supports() may describe module features and capabilities
TODO: add links to docs