You are here

function xmlsitemap_update_10 in XML sitemap 5.2

Implementation of hook_update_N().

File

xmlsitemap/xmlsitemap.install, line 157
Install file for XML sitemap

Code

function xmlsitemap_update_10() {
  $ret[] = update_sql("DELETE FROM {system} WHERE name = 'xmlsitemap_file' AND type = 'module'");
  menu_rebuild();
  $ret[] = array(
    'success' => TRUE,
    'query' => 'REBUILD DRUPAL MENU',
  );
  return $ret;
}