duh
This commit is contained in:
parent
a158370d2e
commit
6891ca8d17
|
@ -253,9 +253,8 @@ class User < ApplicationRecord
|
|||
self.banned_by_user_id = banner.id
|
||||
self.banned_reason = reason
|
||||
|
||||
self.delete!
|
||||
|
||||
BanNotification.notify(self, banner, reason) unless self.deleted_at?
|
||||
self.delete!
|
||||
|
||||
m = Moderation.new
|
||||
m.moderator_user_id = banner.id
|
||||
|
|
Loading…
Reference in New Issue