function tac_lite_update_2 in Taxonomy Access Control Lite 5
Same name and namespace in other branches
- 6 tac_lite.install \tac_lite_update_2()
- 7 tac_lite.install \tac_lite_update_2()
Ensure that the node_access table is thoroughly cleaned up.
File
- ./
tac_lite.install, line 26
Code
function tac_lite_update_2() {
$ret = array();
// node_access_rebuild function introduced in drupal 5 will ensure that the node_access
// table is correct.
node_access_rebuild();
$ret[] = array(
'success' => TRUE,
// assume success
'query' => t('Rebuilt node access table for tac_lite module.'),
);
return $ret;
}