more list cache removals (followup to bc593b65)
This commit is contained in:
parent
aa74a9fc43
commit
1875068a2f
3 changed files with 0 additions and 7 deletions
|
|
@ -153,7 +153,6 @@ def edit(data):
|
|||
for key in list(state.cache):
|
||||
if key.startswith('group:'):
|
||||
state.cache.delete(key)
|
||||
state.user().clear_smart_list_cache()
|
||||
return response
|
||||
actions.register(edit, cache=False)
|
||||
|
||||
|
|
@ -168,9 +167,6 @@ def remove(data):
|
|||
if 'ids' in data and data['ids']:
|
||||
for i in models.Item.query.filter(models.Item.id.in_(data['ids'])):
|
||||
i.remove_file()
|
||||
u = state.user()
|
||||
u.clear_smart_list_cache()
|
||||
u.clear_list_cache()
|
||||
return {
|
||||
'items': []
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue