Commit bd1eb397 authored by damienmckenna's avatar damienmckenna Committed by hass
Browse files

Issue #2469383 by DamienMcKenna: Settings do not upgrade correctly

between D6 and D7
parent d85cbdfa
......@@ -119,3 +119,24 @@ function realname_update_7000() {
);
db_change_field('realname', 'realname', 'realname', $fields['realname']);
}
/**
* Remove variables from D6 that are no longer needed.
*/
function realname_update_7001() {
variable_del('realname_fields');
variable_del('realname_homepage');
variable_del('realname_max_username');
variable_del('realname_myacct');
variable_del('realname_nodeapi');
variable_del('realname_nofollow');
variable_del('realname_notver');
variable_del('realname_profile_module');
variable_del('realname_recalculate');
variable_del('realname_search_enable');
variable_del('realname_search_login');
variable_del('realname_theme');
variable_del('realname_user_disable');
variable_del('realname_use_title');
variable_del('realname_view');
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment