Merge pull request #852 from anandpdoshi/anand-september-16
[minor] clear _website_pages in clear_web
This commit is contained in:
commit
dddaf2285a
1 changed files with 1 additions and 0 deletions
|
|
@ -171,6 +171,7 @@ def clear_cache(path=None):
|
|||
else:
|
||||
clear_sitemap()
|
||||
frappe.clear_cache("Guest")
|
||||
frappe.cache().delete_value("_website_pages")
|
||||
clear_permissions()
|
||||
|
||||
for method in frappe.get_hooks("website_clear_cache"):
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue