upgrade.txt 909 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
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
Petr Skoda's avatar
Petr Skoda committed
11
* move post installation code from lib.php into db/install.php
12
13
* completely rewrite file handling
* rewrite backup/restore
Petr Skoda's avatar
Petr Skoda committed
14
15
* rewrite trusttext support - new db table columns needed
* migrate all module features from mod_edit.php form to lib.php/modulename_supports() function
16
* implement new gradebook support (legacy 1.8.x grading not supported anymore)
17
* migrate custom resource module subtypes into separate modules
18
19
20
21
22
23
24
25

optional - no changes needed in older code:
* portfolio support
* course completion tracking support



TODO: add links to docs