You are here

function xmlsitemap_install in XML sitemap 6

Same name and namespace in other branches
  1. 8 xmlsitemap.install \xmlsitemap_install()
  2. 5.2 xmlsitemap/xmlsitemap.install \xmlsitemap_install()
  3. 5 xmlsitemap.install \xmlsitemap_install()
  4. 6.2 xmlsitemap.install \xmlsitemap_install()
  5. 7.2 xmlsitemap.install \xmlsitemap_install()
  6. 2.x xmlsitemap.install \xmlsitemap_install()

Implementation of hook_install().

File

./xmlsitemap.install, line 118
Installation file for XML sitemap.

Code

function xmlsitemap_install() {
  drupal_install_schema('xmlsitemap');
  variable_set('xmlsitemap_chunk_size', 1000);
  db_query("UPDATE {system} SET weight = 5 WHERE name = 'xmlsitemap'");
}