This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/CRM/Utils/System/Drupal.php b/CRM/Utils/System/Drupal.php | |
index 4a677da..4a5e712 100644 | |
--- a/CRM/Utils/System/Drupal.php | |
+++ b/CRM/Utils/System/Drupal.php | |
@@ -94,10 +94,14 @@ class CRM_Utils_System_Drupal extends CRM_Utils_System_DrupalBase { | |
public function updateCMSName($ufID, $ufName) { | |
// CRM-5555 | |
if (function_exists('user_load')) { | |
- $user = user_load($ufID); | |
- if ($user->mail != $ufName) { |