You are here

function seckit_update_7102 in Security Kit 7

Removes "Override style for frames" options.

http://drupal.org/node/1243032

File

./seckit.install, line 81
Install/update/uninstall actions for SecKit.

Code

function seckit_update_7102() {

  // removes override style variable
  $options = variable_get('seckit_clickjacking');

  // remove override style
  unset($options['override_style']);

  // delete and set new version
  variable_del('seckit_clickjacking');
  variable_set('seckit_clickjacking', $options);
}