MDL-32471 preview thumbnails support for activity modules
[moodle.git] / blocks / upgrade.txt
795a08ad 1This files describes API changes in /blocks/* - activity modules,
2information provided here is intended especially for developers.
ee362526 4
795a08ad 5=== 2.0 ===
7required changes in code:
8* use new DML syntax everywhere
9* use new DDL syntax in db/upgrade.php
10* replace defaults.php by settings.php and db/install.php
11* replace STATEMENTS section in db/install.xml by db/install.php
12* move post instalation code from install() method into db/install.php
13* completely rewrite file handling
14* rewrite backup/restore
15* theme changes: move plugin styles into blocks/xxx/styles.css and use new css markers for images,
16 move all images into new blocks/xxx/pix/ directory and use new outputlib api
cbcc9852 17 old global $THEME is fully replaced by $OUTPUT
19538d8c 18* remove '_utf8' from language pack names, use new {$a} syntax in language packs
ee362526 19* use 'pluginname' lang pack identifier instead of 'blockname'
8571833f 20* move cron and version number into standard version.php
dbf9e4ba 21* removed support for old config_global.html, use settings.php
795a08ad 22