| 1 |
<?php |
<?php |
| 2 |
// $Id: xmlsitemap_engines.install,v 1.3.2.6.2.5 2009/05/16 05:42:32 davereid Exp $ |
// $Id: xmlsitemap_engines.install,v 1.3.2.6.2.6 2009/05/30 03:59:45 davereid Exp $ |
| 3 |
|
|
| 4 |
/** |
/** |
| 5 |
* @file |
* @file |
| 19 |
} |
} |
| 20 |
|
|
| 21 |
function xmlsitemap_engines_update_1() { |
function xmlsitemap_engines_update_1() { |
| 22 |
$value = xmlsitemap_engines_var('submit'); |
variable_set('xmlsitemap_engines_submit', array_filter(variable_get('xmlsitemap_engines_submit', array()))); |
| 23 |
variable_set('xmlsitemap_engines_submit', array_filter($value)); |
return array(); |
| 24 |
|
} |
| 25 |
|
|
| 26 |
|
function xmlsitemap_engines_update_2() { |
| 27 |
|
variable_set('xmlsitemap_engines_engines', variable_get('xmlsitemap_engines_submit', array())); |
| 28 |
|
variable_del('xmlsitemap_engines_submit'); |
| 29 |
return array(); |
return array(); |
| 30 |
} |
} |