function follow_update_7004 in Follow 7.2
Rename the alignment and link style variables to have 'site' in the name.
File
- ./
follow.install, line 115 - Follow module's install and uninstall code.
Code
function follow_update_7004() {
if ($value = variable_get('follow_icon_style')) {
variable_set('follow_site_icon_style', $value);
variable_del('follow_icon_style');
}
if ($value = variable_get('follow_alignment')) {
variable_set('follow_site_alignment', $value);
variable_del('follow_alignment');
}
// Save the initial CSS.
follow_save_css();
return t("Renamed Follow module's alignment and icon style variables.");
}