Added execAccountActiveAdmin() method in adminUser coordination object
This commit is contained in:
parent
ba14a990c7
commit
62142a0c0c
@ -869,12 +869,9 @@ function exportAdmin()
|
||||
$user_account_active = $MyUser->getAccountActive();
|
||||
|
||||
if( $user_account_active == "on" )
|
||||
$user_account_active = "off";
|
||||
$MyUser->setAccountActive("off");
|
||||
elseif( $user_account_active == "off" )
|
||||
$user_account_active = "on";
|
||||
|
||||
//On enregistre les modifications de l'objet User
|
||||
$MyUser->setAccountActive($user_account_active);
|
||||
$MyUser->setAccountActive("on");
|
||||
|
||||
//On enregistre les paramètres
|
||||
$ObjUsersave = $GLOBALS["SYSTEM_MANAGER"]["USER"]->saveInstance($MyUser);
|
||||
|
Loading…
x
Reference in New Issue
Block a user