1
0
Fork 0

removing group isnt required as deluser performs the operation

refactor/models
Matthew 2019-12-27 13:59:28 -05:00
parent c0ea781511
commit a1176bfa36
No known key found for this signature in database
GPG Key ID: 766BE43AE75F7559
1 changed files with 0 additions and 1 deletions

View File

@ -158,7 +158,6 @@ export default class Util {
this.exec(`deluser ${username} --remove-home --backup-to /management/Archives && rm -rf -R /home/${username}`),
this.client.removeGuildMemberRole('446067825673633794', account.userID, '546457886440685578', 'Cloud Account Deleted'),
this.client.db.Account.deleteOne({ username }),
this.exec(`groupdel ${username}`),
];
// @ts-ignore
await Promise.all(tasks);