Skip to content

Commit

Permalink
Remove the whole old check
Browse files Browse the repository at this point in the history
  • Loading branch information
AW0005 authored Oct 27, 2024
1 parent ce1ad73 commit 0b98127
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions app/Services/DesignUpdateManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 0b98127

Please sign in to comment.