weizhouapache commented on code in PR #10232: URL: https://github.com/apache/cloudstack/pull/10232#discussion_r1925096091
########## server/src/main/java/com/cloud/user/AccountManagerImpl.java: ########## @@ -850,6 +850,10 @@ protected boolean lockAccount(long accountId) { public boolean deleteAccount(AccountVO account, long callerUserId, Account caller) { long accountId = account.getId(); + if (account.getState() != State.DISABLED) { Review Comment: thanks @abh1sar The changes on unit tests are not needed is it applicable for 4.19 ? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@cloudstack.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org