# HG changeset patch # User Denis Laxalde # Date 1552571135 -3600 # Node ID 211472ab15c8457aee7340a8f860d59249bc1c6c # Parent d97f9b8df92a62c738ca282447ffd67aa5ff453a Drop deprecated code in cubicweb.hooks Changelog entry will come in a later changeset. diff -r d97f9b8df92a -r 211472ab15c8 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