diff --git a/wcs/formdata.py b/wcs/formdata.py index 40b50a57b..fb6af0fba 100644 --- a/wcs/formdata.py +++ b/wcs/formdata.py @@ -333,14 +333,6 @@ class FormData(StorableObject): self.submission_agent_id = str(self.submission_context.get('agent_id')) changed = True - if 'digest' in self.__dict__: # 2021-06-24 - # migration from a simple digest to digests - if not self.digests: - self.digests = {} - self.digests['default'] = self.__dict__['digest'] - del self.__dict__['digest'] - changed = True - if changed: self.store() diff --git a/wcs/formdef.py b/wcs/formdef.py index e093a1574..2f32e6b97 100644 --- a/wcs/formdef.py +++ b/wcs/formdef.py @@ -225,14 +225,6 @@ class FormDef(StorableObject): # don't run migration on lightweight objects return - if 'digest_template' in self.__dict__: - # 2021-06-22 - migration from a simple template to templates - if not self.digest_templates: - self.digest_templates = {} - self.digest_templates['default'] = self.__dict__['digest_template'] - del self.__dict__['digest_template'] - changed = True - if self.max_field_id is None and self.fields: self.max_field_id = max(lax_int(x.id) for x in self.fields) changed = True