[message] [fix] rewire to core

This commit is contained in:
Rushabh Mehta 2013-04-04 10:02:08 +05:30
parent 9c7830b9cb
commit cfa663e337
3 changed files with 3 additions and 3 deletions

View File

@ -199,7 +199,7 @@ class DocType(DocListController):
def notify(self, args):
args = webnotes._dict(args)
from utilities.page.messages.messages import post
from core.page.messages.messages import post
post({"txt": args.message, "contact": args.message_to, "subject": args.subject,
"notify": cint(self.doc.follow_via_email)})

View File

@ -315,7 +315,7 @@ class DocType(DocListController):
return 0, "<p>Calendar Events</p>"
def get_todo_list(self, user_id):
from utilities.page.todo.todo import get
from core.page.todo.todo import get
todo_list = get()
html = ""

View File

@ -55,7 +55,7 @@ def add_question(arg):
d.save(1)
if args['suggest']:
from utilities.page.messages import messages
from core.page.messages import messages
for s in args['suggest']:
if s:
messages.post(json.dumps({