$t('XML sitemap user'), 'value' => $t('Anonymous access to user profiles'), 'description' => $t('In order to list user profile links in the sitemap, the anonymous user must have the View user profiles permission.', array('@perm-link' => url('admin/people/permissions/' . DRUPAL_ANONYMOUS_RID, array('fragment' => 'module-user')))), 'severity' => REQUIREMENT_ERROR, ); } } return $requirements; } /** * Implements hook_uninstall(). */ function xmlsitemap_user_uninstall() { drupal_load('module', 'user'); drupal_load('module', 'xmlsitemap'); xmlsitemap_link_bundle_delete('user', 'user'); } /** * Implements hook_update_last_removed(). */ function xmlsitemap_user_update_last_removed() { return 6202; }