mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-04 14:08:29 +00:00
fixes after website refactor
This commit is contained in:
@@ -19,7 +19,7 @@ from __future__ import unicode_literals
|
||||
import webnotes
|
||||
import website.utils
|
||||
|
||||
class DocType():
|
||||
class DocType:
|
||||
def __init__(self, d, dl):
|
||||
self.doc, self.doclist = d, dl
|
||||
|
||||
|
||||
@@ -164,7 +164,7 @@ def get_outer_env():
|
||||
'favicon': webnotes.conn.get_value('Website Settings', None, 'favicon')
|
||||
}
|
||||
|
||||
def clear_cache(page_name, doc_type=None, doc_name=None):
|
||||
def clear_cache(page_name):
|
||||
if page_name:
|
||||
delete_page_cache(page_name)
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user