web/request.py
changeset 10006 8391bf718485
parent 10003 6bcb460826cc
child 10079 962324edd6de
--- a/web/request.py	Fri May 02 17:41:11 2014 +0200
+++ b/web/request.py	Fri May 02 17:57:37 2014 +0200
@@ -439,10 +439,6 @@
         """
         self.add_js('cubicweb.ajax.js')
         jsfunc = kwargs.pop('jsfunc', 'userCallbackThenReloadPage')
-        if 'msg' in kwargs:
-            warn('[3.10] msg should be given as positional argument',
-                 DeprecationWarning, stacklevel=2)
-            args = (kwargs.pop('msg'),) + args
         assert not kwargs, 'dunno what to do with remaining kwargs: %s' % kwargs
         cbname = self.register_onetime_callback(cb, *cbargs)
         return "javascript: %s" % getattr(js, jsfunc)(cbname, *args)