reset added on remove
This commit is contained in:
parent
72e6823c3b
commit
906d48a04b
1 changed files with 1 additions and 0 deletions
|
@ -448,6 +448,7 @@ class Item(db.Model):
|
|||
if not self.users:
|
||||
self.delete()
|
||||
else:
|
||||
self.added = None
|
||||
self.update()
|
||||
Transfer.query.filter_by(item_id=self.id).delete()
|
||||
Changelog.record(user, 'removeitem', self.id)
|
||||
|
|
Loading…
Reference in a new issue