Méthode | Description | |
---|---|---|
setAccountSuspensionAndDeletionStatus ( $suspensionInDays, $softDelete, $userId ) | Sets the deletion and suspension values |
Méthode | Description | |
---|---|---|
resetUserSession ( $userId ) : boolean | Kicks the selected user out of the system instantly by resetting the user's session. | |
writeDeleteAndSuspensionInfoToDatabase ( $userId, $suspensionTime, $delete ) : boolean | Simply write the deletion and suspension info for the user into the database, also puts feedback into session |
public static setAccountSuspensionAndDeletionStatus ( $suspensionInDays, $softDelete, $userId ) | ||
$suspensionInDays | ||
$softDelete | ||
$userId |