You are here

function xmlsitemap_menu_menu in XML sitemap 5.2

Implementation of hook_menu().

File

xmlsitemap_menu/xmlsitemap_menu.module, line 44
Adds menu items to the sitemap.

Code

function xmlsitemap_menu_menu($may_cache) {
  if ($may_cache) {
    global $user;
    if (!empty($user->uid)) {
      xmlsitemap_flag_sitemap();
    }
  }
}