clear_cache
This commit is contained in:
parent
41031b3631
commit
132e20df4f
1 changed files with 2 additions and 2 deletions
|
|
@ -29,9 +29,9 @@ permission, homepage, control panel variables, system defaults etc
|
|||
import webnotes
|
||||
|
||||
@webnotes.whitelist()
|
||||
def clear():
|
||||
def clear(user=None):
|
||||
"""clear all cache"""
|
||||
clear_cache()
|
||||
clear_cache(user)
|
||||
webnotes.response['message'] = "Cache Cleared"
|
||||
|
||||
def clear_cache(user=''):
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue