|
[
Permalink
| « Hide
]
Penny Leach added a comment - 19/Dec/08 09:00 PM
please make sure there's post install hooks for local/ too
the main install.php should install:
1/ main site course 2/ guest account 3/ mnet default site record 4/ logs setup oops, reopening, forgot local install.php
reclosing, implemented in locallib too
This one caught me out a bit, because we'd earlier added support in 1.9 and 2.0 for an $pluginname_install() function in lib.php of all plugins.
I note this hook is now deleted from 2.0 code, so this may bite anyone currently using this hook for 3rd party modules in 1.9. We should mention this in the release notes at least. I do prefer the install.php method, though I don't know why the function name starts with xmldb_ since it's not related to xmldb at all .. Fixed message/out installation code for this issue
There is a new readme file in mod/ blocks/ etc that explains what should be done in order to update plugin code for 2.0,
I used that name because upgrade.php uses something similar, any better name for that function? |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||