You are here

function encrypt_update_7200 in Encrypt 7.3

Same name and namespace in other branches
  1. 7.2 encrypt.install \encrypt_update_7200()

Our default encryption method variable has changed.

So get the old one and save it as the new one.

File

./encrypt.install, line 192
Install, update and uninstall functions for the encrypt module.

Code

function encrypt_update_7200() {
  if ($default_method = variable_get('encrypt_default_method', NULL)) {
    variable_set('encrypt_encryption_method', $default_method);
    variable_del('encrypt_default_method');
  }
}