mirror of
https://github.com/frappe/erpnext.git
synced 2026-02-14 10:13:57 +00:00
removed __SessionCache and replaced with webnotes.clear_cache
This commit is contained in:
@@ -73,8 +73,8 @@ class DocType:
|
||||
|
||||
# Update Membership Type at Gateway
|
||||
from webnotes.utils import cint
|
||||
|
||||
sql("delete from __SessionCache where user=%s", cstr(arg['usr']))
|
||||
|
||||
webnotes.clear_cache(cstr(arg['usr']))
|
||||
|
||||
# Save profile
|
||||
def save_profile(self,arg):
|
||||
|
||||
Reference in New Issue
Block a user