From 0b98127ff0983dd12b6061629acbf0fb3f48492a Mon Sep 17 00:00:00 2001 From: moif <104588768+AW0005@users.noreply.github.com> Date: Sun, 27 Oct 2024 13:17:31 -0400 Subject: [PATCH] Remove the whole old check --- app/Services/DesignUpdateManager.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/app/Services/DesignUpdateManager.php b/app/Services/DesignUpdateManager.php index aba733433e..59692c7906 100644 --- a/app/Services/DesignUpdateManager.php +++ b/app/Services/DesignUpdateManager.php @@ -391,9 +391,6 @@ public function saveRequestFeatures($data, $request) { if (!$species) { throw new \Exception('Invalid species selected.'); } - if (isset($subtype) && $subtype && $subtype->species_id != $species->id) { - throw new \Exception('Subtype does not match the species.'); - } // Clear old features $request->features()->delete();