You are here

function tac_lite_update_2 in Taxonomy Access Control Lite 6

Same name and namespace in other branches
  1. 5 tac_lite.install \tac_lite_update_2()
  2. 7 tac_lite.install \tac_lite_update_2()

Ensure that the node_access table is thoroughly cleaned up in Drupal 5 update.

File

./tac_lite.install, line 33
Installation functions for tac_lite.

Code

function tac_lite_update_2() {
  $ret = array();
  node_access_rebuild();

  // Would batch mode help here?
  // Assume success and return with message.
  $ret[] = array(
    'success' => TRUE,
    'query' => t('Rebuilt node access table for tac_lite module.'),
  );
  return $ret;
}