From cbc7608b9cd6922084f057c0cc424d6eca8a0541 Mon Sep 17 00:00:00 2001 From: Sergei Maertens Date: Thu, 2 Jan 2025 17:13:05 +0100 Subject: [PATCH] :fire: Remove dead/deprecated code The serializer fields were removed before in 08dfdbcec805b3f7f75d2048eb09f51d58b9e14c --- .../js/components/admin/form_design/data/complete-form.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/openforms/js/components/admin/form_design/data/complete-form.js b/src/openforms/js/components/admin/form_design/data/complete-form.js index e5ebfd633e..ef7bdb793e 100644 --- a/src/openforms/js/components/admin/form_design/data/complete-form.js +++ b/src/openforms/js/components/admin/form_design/data/complete-form.js @@ -123,8 +123,6 @@ const saveForm = async (state, csrftoken) => { const cleanedState = produce(state, draft => { // ensure we don't overwrite the submission counter with a stale state delete draft.form.submissionCounter; - delete draft.form.registrationBackend; // deprecated - delete draft.form.registrationBackendOptions; // deprecated normalizeLimit(draft, 'successfulSubmissionsRemovalLimit'); normalizeLimit(draft, 'incompleteSubmissionsRemovalLimit'); normalizeLimit(draft, 'erroredSubmissionsRemovalLimit');