web/request.py
changeset 9568 e8b9a3d23ad9
parent 9561 3bdf85279c67
child 9582 46ed25d38fe2
--- a/web/request.py	Fri Mar 07 10:27:14 2014 +0100
+++ b/web/request.py	Mon Mar 10 17:54:02 2014 +0100
@@ -416,6 +416,7 @@
             req.execute(rql, args, key)
         return self.user_callback(rqlexec, rqlargs, *args, **kwargs)
 
+    @deprecated('[3.19] use a traditional ajaxfunc / controller')
     def user_callback(self, cb, cbargs, *args, **kwargs):
         """register the given user callback and return a URL which can
         be inserted in an HTML view. When the URL is accessed, the