# HG changeset patch # User Sylvain Thénault # Date 1268387382 -3600 # Node ID 2f75a8439338aeabffe61d6790bd5c0aff9bb3b7 # Parent 230ace4d68c002c7c053300e6bc6d9301d56e3f3 kill unused method diff -r 230ace4d68c0 -r 2f75a8439338 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