fixes to recent patch and removed company_control, home_control, webforms, wip_monitor

This commit is contained in:
Rushabh Mehta
2012-12-12 15:25:51 +05:30
parent 73ccac4ccb
commit 686022f777
18 changed files with 8 additions and 805 deletions

View File

@@ -1,7 +1,9 @@
from __future__ import unicode_literals
import webnotes, json
def execute():
for p in webnotes.conn.sql("""select name, recent_documents from
tabProfile where ifnull(recent_documents,'')!=''"""):
if not '~~~' in p[1]:
if not '~~~' in p[1] and p[1][0]=='[':
webnotes.cache().set_value("recent:" + p[0], json.loads(p[1]))