web/views/editcontroller.py
changeset 7990 a673d1d9a738
parent 7942 d12c21ea4cd4
child 8034 b07d61090706
--- a/web/views/editcontroller.py	Fri Oct 21 14:32:18 2011 +0200
+++ b/web/views/editcontroller.py	Fri Oct 21 14:32:37 2011 +0200
@@ -140,12 +140,6 @@
             todelete = req.list_form_param('__delete', req.form, pop=True)
             if todelete:
                 autoform.delete_relations(self._cw, todelete)
-        if req.form.has_key('__insert'):
-            warn('[3.6] stop using __insert, support will be removed',
-                 DeprecationWarning)
-            toinsert = req.list_form_param('__insert', req.form, pop=True)
-            if toinsert:
-                autoform.insert_relations(self._cw, toinsert)
         self._cw.remove_pending_operations()
         if self.errors:
             errors = dict((f.name, unicode(ex)) for f, ex in self.errors)