function tac_lite_install in Taxonomy Access Control Lite 5
Same name and namespace in other branches
- 8 tac_lite.install \tac_lite_install()
- 6 tac_lite.install \tac_lite_install()
- 7 tac_lite.install \tac_lite_install()
Implementation of hook_install()
This function modifies the database as needed when tac_lite is installed.
File
- ./
tac_lite.install, line 7
Code
function tac_lite_install() {
// Ensure we come after taxonomy.
db_query("UPDATE {system} SET weight = 9 WHERE name = 'tac_lite'");
// Note that it is not necessary to rebuild the node access table here, as
// that will be done when module settings are saved.
}