[hooks] silence cubicweb 3.17 deprecation warning
authorJulien Cristau <julien.cristau@logilab.fr>
Fri, 25 Jul 2014 12:08:50 +0200
changeset 1567 8a0e00cf3c55
parent 1566 ffcd83fb3766
child 1568 296942d2ed2a
[hooks] silence cubicweb 3.17 deprecation warning
hooks.py
--- a/hooks.py	Fri Jul 25 12:05:02 2014 +0200
+++ b/hooks.py	Fri Jul 25 12:08:50 2014 +0200
@@ -312,7 +312,7 @@
             view = self._cw.vreg['views'].select(
                 'apycot.notif.exstchange', self._cw, rset=te.as_rset(),
                 row=0, col=0)
-            notifhooks.RenderAndSendNotificationView(self._cw, view=view)
+            notifhooks.notify_on_commit(self._cw, view=view)
 
 
 try: