MDL-22061 fixed warning
[moodle.git] / blocks / upgrade.txt
795a08ad 1This files describes API changes in /blocks/* - activity modules,
2information provided here is intended especially for developers.
4=== 2.0 ===
6required changes in code:
7* use new DML syntax everywhere
8* use new DDL syntax in db/upgrade.php
9* replace defaults.php by settings.php and db/install.php
10* replace STATEMENTS section in db/install.xml by db/install.php
11* move post instalation code from install() method into db/install.php
12* completely rewrite file handling
13* rewrite backup/restore
14* theme changes: move plugin styles into blocks/xxx/styles.css and use new css markers for images,
15 move all images into new blocks/xxx/pix/ directory and use new outputlib api
cbcc9852 16 old global $THEME is fully replaced by $OUTPUT
78946b9b 17
795a08ad 18
19optional - no changes needed in older code:
4ca6cfbf 20*
795a08ad 21
23TODO: add links to docs