Jelajahi Sumber

deactivated hook_user_update for test

Signed-off-by: bachy <git@g-u-i.net>
bachy 12 tahun lalu
induk
melakukan
d01d0a2a7e
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      materio_user.module

+ 1 - 1
materio_user.module

@@ -223,7 +223,7 @@ define('MATERIO_USER_CONFIRMED_USER_ROLE', 'Utilisateur'); // add role name here
 /**
  * Implement hook_user
  */
-function materio_user_user_update(&$edit, $account, $category){
+function __materio_user_user_update(&$edit, $account, $category){
   // This is only fired when a user confirms their email address, logintoboggan style
   if (isset($account->logintoboggan_email_validated) && $account->logintoboggan_email_validated == TRUE) {    
     $confirmed_rid = materio_user_get_role_by_name(MATERIO_USER_CONFIRMED_USER_ROLE);