upgrade.txt 683 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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