Added Notification Control for caching notifications probably causing the freezing problem

This commit is contained in:
Rushabh Mehta
2013-11-18 13:22:07 +05:30
parent 0809a95a70
commit 04cc5155f7
8 changed files with 31 additions and 15 deletions

View File

@@ -30,6 +30,10 @@ def execute_daily():
from core.doctype.event.event import send_event_digest
run_fn(send_event_digest)
# clear daily event notifications
from core.doctype.notification_count.notification_count import delete_notification_count_for
delete_notification_count_for("Event")
# email digest
from setup.doctype.email_digest.email_digest import send
run_fn(send)