You are here

function seckit_update_6102 in Security Kit 6

Removes "Override style for frames" options.

http://drupal.org/node/1243032

File

./seckit.install, line 44
Install/uninstall actions for SecKit.

Code

function seckit_update_6102() {

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

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

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