Skip to content

Commit

Permalink
Deleting language items after deleting a captcha question
Browse files Browse the repository at this point in the history
  • Loading branch information
Cyperghost committed Nov 15, 2024
1 parent 27532b5 commit 983bacc
Showing 1 changed file with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,4 +76,14 @@ public function create()

return $captchaQuestion;
}

#[\Override]
public function delete()
{
$returnValue = parent::delete();

$this->deleteI18nValues();

return $returnValue;
}
}

0 comments on commit 983bacc

Please sign in to comment.