From: yashodha Date: Tue, 5 Apr 2016 05:27:33 +0000 (+0530) Subject: Merge branch 'master' of https://github.com/rollox/civicrm-core into CRM-18317 X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=e68d4035151c218b5e504883725fecd62eaea4ac;p=civicrm-core.git Merge branch 'master' of https://github.com/rollox/civicrm-core into CRM-18317 Conflicts: CRM/Utils/System/Drupal.php ---------------------------------------- * CRM-18317: Links to Drupal system broken if hook altered by a module https://issues.civicrm.org/jira/browse/CRM-18317 --- e68d4035151c218b5e504883725fecd62eaea4ac diff --cc CRM/Utils/System/Drupal.php index 5076a72cf2,3b214841b9..8beb99405c --- a/CRM/Utils/System/Drupal.php +++ b/CRM/Utils/System/Drupal.php @@@ -149,8 -149,8 +149,8 @@@ class CRM_Utils_System_Drupal extends C array(':mail' => $params['mail']) )->fetchField(); if ((bool) $uid) { - $resetUrl = $config->userFrameworkBaseURL . 'user/password'; + $resetUrl = url('user/password'); - $errors[$emailName] = ts('The email address %1 is already registered. Have you forgotten your password?', + $errors[$emailName] = ts('The email address %1 already has an account associated with it. Have you forgotten your password?', array(1 => $params['mail'], 2 => $resetUrl) ); }