You are here

function workbench_access_update_7004 in Workbench Access 7

Rebuild menu registry to properly sort menu trees.

File

./workbench_access.install, line 327
Install file for Workbench Access.

Code

function workbench_access_update_7004() {
  $scheme = variable_get('workbench_access');
  if ($scheme == 'menu') {
    menu_rebuild();
  }
}