removed __SessionCache and replaced with webnotes.clear_cache

This commit is contained in:
Anand Doshi 2012-10-24 17:39:50 +05:30
parent 32c1293a45
commit b38e34d203

View File

@ -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):