removed make_feed() function
diff --git a/home/doctype/widget_control/widget_control.py b/home/doctype/widget_control/widget_control.py
index fa41cc9..d6bb9d1 100644
--- a/home/doctype/widget_control/widget_control.py
+++ b/home/doctype/widget_control/widget_control.py
@@ -27,11 +27,6 @@
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 @@
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
diff --git a/hr/doctype/it_checklist/it_checklist.py b/hr/doctype/it_checklist/it_checklist.py
index abed301..182e171 100644
--- a/hr/doctype/it_checklist/it_checklist.py
+++ b/hr/doctype/it_checklist/it_checklist.py
@@ -411,9 +411,3 @@
new_tot_income = cint(self.doc.tax_tot_income) + cint(self.doc.edu_cess) - (cint(ret_income_tax[0][0]) or 0)
self.doc.tax_per_month = new_tot_income/cint(self.doc.rem_months)
-
- # on update
- def on_update(self):
- obj = get_obj('Feed Control', 'Feed Control')
-
- obj.make_feed(self.doc)
\ No newline at end of file
diff --git a/selling/doctype/enquiry/enquiry.py b/selling/doctype/enquiry/enquiry.py
index 1259702..4ad1b0a 100644
--- a/selling/doctype/enquiry/enquiry.py
+++ b/selling/doctype/enquiry/enquiry.py
@@ -115,12 +115,6 @@
ch = addchild(ev, 'event_individuals', 'Event User', 0)
ch.person = d
ch.save(1)
-
- #user_list = ['Sales Manager', 'Sales User']
- #for d in user_list:
- # ch = addchild(ev, 'event_individuals', 'Event User', 0)
- # ch.person = d
- # ch.save()
#--------------Validation For Last Contact Date-----------------
# ====================================================================================================================
@@ -171,8 +165,6 @@
raise Exception
else:
set(self.doc, 'status', 'Cancelled')
-
- get_obj('Feed Control').make_feed(self.doc, 'cancelled')
# declare as enquiry lost
#---------------------------