cubicweb/hooks/notification.py
changeset 12507 211472ab15c8
parent 11767 432f87a63057
child 12583 4f59a56e6d89
--- a/cubicweb/hooks/notification.py	Thu Mar 14 14:45:27 2019 +0100
+++ b/cubicweb/hooks/notification.py	Thu Mar 14 14:45:35 2019 +0100
@@ -20,7 +20,6 @@
 
 
 from logilab.common.textutils import normalize_text
-from logilab.common.deprecation import deprecated
 
 from cubicweb import RegistryNotFound
 from cubicweb.predicates import is_instance
@@ -28,11 +27,6 @@
 from cubicweb.sobjects.supervising import SupervisionMailOp
 
 
-@deprecated('[3.17] use notify_on_commit instead')
-def RenderAndSendNotificationView(cnx, view, viewargs=None):
-    notify_on_commit(cnx, view, viewargs)
-
-
 def notify_on_commit(cnx, view, viewargs=None):
     """register a notification view (see
     :class:`~cubicweb.sobjects.notification.NotificationView`) to be sent at