This commit is contained in:
KOUNOIKE Yuusuke
2018-10-10 11:31:02 +09:00
parent 1fe3213e68
commit bb4fe1314b

View File

@@ -181,7 +181,7 @@ trait AccountService {
description = description
)
def suspendAccount(account: Account)(implicit s: Session): Unit ={
def suspendAccount(account: Account)(implicit s: Session): Unit = {
// Remove from GROUP_MEMBER and COLLABORATOR
removeUserRelatedData(account.userName)
updateAccount(account.copy(isRemoved = true))