This reverts commit 326ea86a57.
This commit is contained in:
1 parent
228ec4c0f3
commit
96cdf77995
99 files changed
+1398
-2596
No files matched your search
@@ -245,7 +245,7 @@ func (hs *HTTPServer) AdminDeleteUser(c *models.ReqContext) response.Response {
|
||||
return nil
|
||||
})
|
||||
g.Go(func() error {
|
||||
if err := hs.QuotaService.DeleteQuotaForUser(ctx, cmd.UserID); err != nil {
|
||||
if err := hs.QuotaService.DeleteByUser(ctx, cmd.UserID); err != nil {
|
||||
return err
|
||||
}
|
||||
return nil
|
||||
|
||||
Reference in new issue
Block a user