fdsfs
This commit is contained in:
parent
6b7ae51d61
commit
dcbf6753e9
3 changed files with 12 additions and 12 deletions
|
@ -533,14 +533,6 @@ class User(Base):
|
|||
g.db.add(self)
|
||||
|
||||
|
||||
def unban(self):
|
||||
|
||||
self.is_banned = 0
|
||||
self.unban_utc = 0
|
||||
|
||||
g.db.add(self)
|
||||
g.db.commit()
|
||||
|
||||
|
||||
@property
|
||||
@lazy
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue