function openid_menu_site_status_alter

7.x openid.module openid_menu_site_status_alter(&$menu_site_status, $path)

Implements hook_menu_site_status_alter().

File

drupal/modules/openid/openid.module, line 42
Implement OpenID Relying Party support for Drupal

Code

function openid_menu_site_status_alter(&$menu_site_status, $path) {
  // Allow access to openid/authenticate even if site is in offline mode.
  if ($menu_site_status == MENU_SITE_OFFLINE && user_is_anonymous() && $path == 'openid/authenticate') {
    $menu_site_status = MENU_SITE_ONLINE;
  }
}