You are here

function seochecklist_update_5200 in SEO Checklist 5.2

Update from MSN to Bing and fix links.

File

./seochecklist.install, line 184
Install, update and uninstall functions for the seochecklist module.

Code

function seochecklist_update_5200() {
  $ret = array();
  $ret[] = update_sql("INSERT INTO {seo_checklist} (id, group_id, name, order_id) VALUES (44, 3, 'Get a Windows Live ID - You will need this for steps that follow - <a href=\"https://signup.live.com/\">https://signup.live.com/</a>', 3)");
  $ret[] = update_sql("INSERT INTO {seo_checklist} (id, group_id, name, order_id) VALUES (42, 7, 'Login to Bing - <a href=\"http://www.bing.com/webmaster/\">http://www.bing.com/webmaster/</a>', 8)");
  $ret[] = update_sql("INSERT INTO {seo_checklist} (id, group_id, name, order_id) VALUES (43, 7, 'Authenticate your site with Bing', 9)");
  $ret[] = update_sql("UPDATE {seo_checklist} SET name = 'Submit your XML Sitemap to Bing - <a href=\"http://www.bing.com/webmaster/WebmasterAddSitesPage.aspx\">http://www.bing.com/webmaster/WebmasterAddSitesPage.aspx</a>', order_id = 10 WHERE id = 28");
  $ret[] = update_sql("UPDATE {seo_checklist} SET order_id = 11 WHERE id = 29");
  $ret[] = update_sql("UPDATE {seo_checklist} SET module = 'xmlsitemap', download = 'http://drupal.org/project/xmlsitemap', configure = 'admin/settings/xmlsitemap' WHERE id = 21");
  return $ret;
}