Drop deprecated code in cubicweb.hooks
authorDenis Laxalde <denis.laxalde@logilab.fr>
Thu, 14 Mar 2019 14:45:35 +0100
changeset 12507 211472ab15c8
parent 12506 d97f9b8df92a
child 12508 a8c1ea390400
Drop deprecated code in cubicweb.hooks Changelog entry will come in a later changeset.
cubicweb/hooks/notification.py
--- 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