mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-22 22:49:19 +00:00
Merge branch 'master' of github.com:webnotes/erpnext
This commit is contained in:
@@ -235,7 +235,7 @@ def delete_cache(page_name):
|
|||||||
* blog is un-published
|
* blog is un-published
|
||||||
"""
|
"""
|
||||||
import webnotes
|
import webnotes
|
||||||
webnotes.conn.sql("""delete from `tabWeb Cache` where name=%s""", page_name)
|
webnotes.conn.sql("""delete from `tabWeb Cache` where name=%s""", (page_name,))
|
||||||
|
|
||||||
def refresh_cache(build=None):
|
def refresh_cache(build=None):
|
||||||
"""delete and re-create web cache entries"""
|
"""delete and re-create web cache entries"""
|
||||||
|
|||||||
Reference in New Issue
Block a user