deactivated hook_user_update for test
Signed-off-by: bachy <git@g-u-i.net>
This commit is contained in:
parent
2b137c6a19
commit
d01d0a2a7e
@ -223,7 +223,7 @@ define('MATERIO_USER_CONFIRMED_USER_ROLE', 'Utilisateur'); // add role name here
|
|||||||
/**
|
/**
|
||||||
* Implement hook_user
|
* 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
|
// This is only fired when a user confirms their email address, logintoboggan style
|
||||||
if (isset($account->logintoboggan_email_validated) && $account->logintoboggan_email_validated == TRUE) {
|
if (isset($account->logintoboggan_email_validated) && $account->logintoboggan_email_validated == TRUE) {
|
||||||
$confirmed_rid = materio_user_get_role_by_name(MATERIO_USER_CONFIRMED_USER_ROLE);
|
$confirmed_rid = materio_user_get_role_by_name(MATERIO_USER_CONFIRMED_USER_ROLE);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user