chore: remove method that does nothing
This commit is contained in:
parent
e6f729bc61
commit
b4e0914afe
1 changed files with 0 additions and 5 deletions
|
|
@ -387,7 +387,6 @@ def clear_cache(path=None):
|
|||
frappe.cache.hdel("website_redirects", path)
|
||||
delete_page_cache(path)
|
||||
else:
|
||||
clear_sitemap()
|
||||
frappe.clear_cache("Guest")
|
||||
delete_page_cache()
|
||||
keys += [
|
||||
|
|
@ -408,10 +407,6 @@ def clear_website_cache(path=None):
|
|||
clear_cache(path)
|
||||
|
||||
|
||||
def clear_sitemap():
|
||||
delete_page_cache("*")
|
||||
|
||||
|
||||
def get_frontmatter(string):
|
||||
"Reference: https://github.com/jonbeebe/frontmatter"
|
||||
frontmatter = ""
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue