removed __SessionCache and replaced with webnotes.clear_cache
This commit is contained in:
parent
32c1293a45
commit
b38e34d203
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user