You are here

function hfs_update_7200 in Header and Footer Scripts 7.2

Implements hook_update_N().

Adding new configuration variables and updating current configuration in it to avoid conflict with any other module.

File

./hfs.install, line 23
Uninstall functions for hfs module.

Code

function hfs_update_7200() {
  $header = variable_get('hfs_header_scripts');
  $body = variable_get('hfs_body_scripts');
  $footer = variable_get('hfs_footer_scripts');
  variable_set('header_and_footer_scripts_header_settings', $header);
  variable_set('header_and_footer_scripts_body_settings', $body);
  variable_set('header_and_footer_scripts_footer_settings', $footer);
  variable_del("hfs_header_scripts");
  variable_del("hfs_body_scripts");
  variable_del("hfs_footer_scripts");
}