brotherton-erpnext/patches/may_2012/clear_session_cache.py

7 lines
234 B
Python
Raw Normal View History

# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd.
# License: GNU General Public License v3. See license.txt
from __future__ import unicode_literals
2012-05-21 07:43:10 +00:00
def execute():
import webnotes
webnotes.conn.sql("delete from __SessionCache")