diff --git a/web/modules/custom/joinup_assessment/src/Drush/Commands/WebformAssessmentCommands.php b/web/modules/custom/joinup_assessment/src/Drush/Commands/WebformAssessmentCommands.php index 36594a4e9b0456c821d6e6055e33ab22650ad888..3f59ac905b93310fe927e8caf686780e478b38b9 100644 --- a/web/modules/custom/joinup_assessment/src/Drush/Commands/WebformAssessmentCommands.php +++ b/web/modules/custom/joinup_assessment/src/Drush/Commands/WebformAssessmentCommands.php @@ -56,11 +56,11 @@ public function disableDefaultWebformSanitization(InputInterface $input): void { #[CLI\Hook(type: HookManager::POST_COMMAND_HOOK, target: 'sql-sanitize')] public function sanitize($result, CommandData $commandData): void { $this->database->delete('webform_submission') - ->condition('webform_id', AssessmentInterface::WEBFORM_ID, '!=') + ->condition('webform_id', AssessmentInterface::WEBFORM_ID, '<>') ->execute(); $this->database->delete('webform_submission_data') - ->condition('webform_id', AssessmentInterface::WEBFORM_ID, '!=') + ->condition('webform_id', AssessmentInterface::WEBFORM_ID, '<>') ->execute(); if ($this->moduleHandler->moduleExists('webform_submission_log')) {