You are here

function userprotect_update_6002 in User protect 6

Rebuilds the menu due to code changes.

File

./userprotect.install, line 144

Code

function userprotect_update_6002() {
  $ret = array();
  menu_rebuild();
  $ret[] = array(
    'success' => TRUE,
    'query' => "Successfully rebuilt menus.",
  );
  return $ret;
}