Commit 5959d88e authored by aron novak's avatar aron novak Committed by Jose Antonio Reyero del Prado
Browse files

Issue #2455093 by Aron Novak: Be compatible with Drupal 7.35

parent 1dc62cdc
Loading
Loading
Loading
Loading
+2 −2
Changes for i18n_user/i18n_user.module: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -54,7 +54,7 @@ function i18n_user_user_mail_tokens(&$replacements, $data, $options) {
 */
function i18n_user_user_pass_reset_url($account) {
  $timestamp = REQUEST_TIME;
  return url("user/reset/$account->uid/$timestamp/" . user_pass_rehash($account->pass, $timestamp, $account->login), array('absolute' => TRUE, 'language' => i18n_language($account->language)));
  return url("user/reset/$account->uid/$timestamp/" . user_pass_rehash($account->pass, $timestamp, $account->login, $account->uid), array('absolute' => TRUE, 'language' => i18n_language($account->language)));
}

/**
@@ -65,5 +65,5 @@ function i18n_user_user_pass_reset_url($account) {
 */
function i18n_user_user_cancel_url($account) {
  $timestamp = REQUEST_TIME;
  return url("user/$account->uid/cancel/confirm/$timestamp/" . user_pass_rehash($account->pass, $timestamp, $account->login), array('absolute' => TRUE, 'language' => i18n_language($account->language)));
  return url("user/$account->uid/cancel/confirm/$timestamp/" . user_pass_rehash($account->pass, $timestamp, $account->login, $account->uid), array('absolute' => TRUE, 'language' => i18n_language($account->language)));
}