You are here

function masquerade_admin_settings_submit in Masquerade 7

Same name and namespace in other branches
  1. 6 masquerade.module \masquerade_admin_settings_submit()
1 string reference to 'masquerade_admin_settings_submit'
masquerade_admin_settings in ./masquerade.module
Admin settings form.

File

./masquerade.module, line 332
The masquerade module allows administrators to masquerade as other user.

Code

function masquerade_admin_settings_submit($form, &$form_state) {

  // Rebuild the menu system so the menu "Quick Switch" user is updated.
  if ($form_state['masquerade_rebuild_menu']) {
    menu_rebuild();
  }
}