removed make_feed() function

This commit is contained in:
Nabin Hait
2011-09-16 11:28:56 +05:30
parent 11b2c0305c
commit 0ad3235c1f
3 changed files with 0 additions and 23 deletions

View File

@@ -27,11 +27,6 @@ class DocType:
cmt.comment_date = nowdate()
cmt.comment_time = time.strftime('%H:%M')
cmt.save(1)
try:
get_obj('Feed Control').upate_comment_in_feed(args['comment_doctype'], args['comment_docname'])
except:
pass
else:
raise Exception
@@ -39,7 +34,3 @@ class DocType:
def remove_comment(self, args):
args = json.loads(args)
sql("delete from `tabComment Widget Record` where name=%s",args['id'])
try:
get_obj('Feed Control').upate_comment_in_feed(args['dt'], args['dn'])
except: pass