kill unused method
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Fri, 12 Mar 2010 10:49:42 +0100
changeset 4878 2f75a8439338
parent 4869 230ace4d68c0
child 4879 56c16efedc51
kill unused method
web/controller.py
--- a/web/controller.py	Thu Mar 11 18:28:38 2010 +0100
+++ b/web/controller.py	Fri Mar 12 10:49:42 2010 +0100
@@ -79,19 +79,6 @@
                 self.cw_rset = pp.process_query(rql)
         return self.cw_rset
 
-    def check_expected_params(self, params):
-        """check that the given list of parameters are specified in the form
-        dictionary
-        """
-        missing = []
-        for param in params:
-            if not self._cw.form.get(param):
-                missing.append(param)
-        if missing:
-            raise RequestError('missing required parameter(s): %s'
-                               % ','.join(missing))
-
-
     def notify_edited(self, entity):
         """called by edit_entity() to notify which entity is edited"""
         # NOTE: we can't use entity.rest_path() at this point because