You are here

function password_policy_update_7103 in Password Policy 7

Convert expiration warning e-mail tokens to Drupal 7 format.

File

./password_policy.install, line 388
Password Policy module installation and upgrade code.

Code

function password_policy_update_7103() {
  $variables = array(
    'password_policy_warning_subject',
    'password_policy_warning_body',
  );
  foreach ($variables as $variable) {
    _password_policy_convert_variable_tokens_d6_to_d7($variable);
  }
}