Merge branch 'master' of https://github.com/rollox/civicrm-core into CRM-18317
authoryashodha <yashodha.chaku@webaccessglobal.com>
Tue, 5 Apr 2016 05:27:33 +0000 (10:57 +0530)
committeryashodha <yashodha.chaku@webaccessglobal.com>
Tue, 5 Apr 2016 05:27:33 +0000 (10:57 +0530)
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

1  2 
CRM/Admin/Page/Access.php
CRM/Utils/System/Drupal.php
CRM/Utils/System/DrupalBase.php

Simple merge
index 5076a72cf2f84aef38faffd6866ccdf4e2838d8f,3b214841b9da6742cb782c980faba40633efeae7..8beb99405cd36012fe2d7d8bea3267a0c0b83c14
@@@ -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. <a href="%2">Have you forgotten your password?</a>',
 +          $errors[$emailName] = ts('The email address %1 already has an account associated with it. <a href="%2">Have you forgotten your password?</a>',
              array(1 => $params['mail'], 2 => $resetUrl)
            );
          }
Simple merge