function hosting_alias_update_1 in Hosting 7.4
Same name and namespace in other branches
- 5 alias/hosting_alias.install \hosting_alias_update_1()
- 6.2 alias/hosting_alias.install \hosting_alias_update_1()
- 7.3 alias/hosting_alias.install \hosting_alias_update_1()
Implements hook_update_N().
This removes dodgy data created by an import bug.
File
- alias/
hosting_alias.install, line 54 - Define database schema and update function for the site aliases module.
Code
function hosting_alias_update_1() {
$ret = array();
$ret[] = update_sql("DELETE FROM {hosting_site_alias} WHERE alias='Array'");
return $ret;
}