Drop deprecated code in cubicweb.hooks
Changelog entry will come in a later changeset.
--- 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