function xmlsitemap_engines_update_1 in XML sitemap 5
Same name and namespace in other branches
- 5.2 xmlsitemap_engines/xmlsitemap_engines.install \xmlsitemap_engines_update_1()
Replace Moreover with Windows Live.
File
- xmlsitemap_engines/
xmlsitemap_engines.install, line 49
Code
function xmlsitemap_engines_update_1() {
$ret = array();
$submit = db_result(db_query("SELECT value FROM {variable} WHERE name = 'xmlsitemap_engines_moreover_submit'"));
if ($submit !== FALSE) {
variable_set('xmlsitemap_engines_live_submit', $submit);
}
$settings = db_query("SELECT name FROM {variable} WHERE name LIKE 'xmlsitemap\\_engines\\_moreover\\_'");
while ($variable = db_fetch_object($settings)) {
variable_del($variable->name);
}
return $ret;
}