diff --git a/lib/Controller/ApiController.php b/lib/Controller/ApiController.php index fd3d05a2..2363c5bf 100644 --- a/lib/Controller/ApiController.php +++ b/lib/Controller/ApiController.php @@ -1112,7 +1112,6 @@ class ApiController extends OCSController { // Insert new submission $this->submissionMapper->insert($submission); - $submissionId = $submission->getId(); // Ensure the form is unique if needed. // If we can not submit anymore then the submission must be unique