# HG changeset patch # User Lennard de Rijk # Date 1233427440 0 # Node ID c6e8e3573fa29e55d5f191f0c478cebce4092017 # Parent d456f50af0d243ea1eb12d61d55f7138cb587833 Removed obsolete _editPost and _editGet in soc/views/models/club.py. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed diff -r d456f50af0d2 -r c6e8e3573fa2 app/soc/views/models/club.py --- a/app/soc/views/models/club.py Sat Jan 31 18:25:11 2009 +0000 +++ b/app/soc/views/models/club.py Sat Jan 31 18:44:00 2009 +0000 @@ -224,26 +224,6 @@ page_name, params=list_params, filter=None) - def _editGet(self, request, entity, form): - """See base.View._editGet(). - """ - - # fill in the founded_by with data from the entity - form.fields['founded_by'].initial = entity.founder.name - super(View, self)._editGet(request, entity, form) - - def _editPost(self, request, entity, fields): - """See base.View._editPost(). - """ - - if not entity: - # only if we are creating a new entity we should fill in founder - user = user_logic.logic.getForCurrentAccount() - fields['founder'] = user - - super(View, self)._editPost(request, entity, fields) - - def _getExtraMenuItems(self, role_description, params=None): """Used to create the specific club menu entries.