From dc89dd3eb7cbd733f8ab0cac5f8ee47ef6750789 Mon Sep 17 00:00:00 2001 From: Adrian Lorenc <adrian.lorenc@gmail.com> Date: Wed, 26 Mar 2025 16:01:21 +0100 Subject: [PATCH] ISAICP-9614: Use ANSI SQL standard --- .../src/Drush/Commands/WebformAssessmentCommands.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 36594a4e9b..3f59ac905b 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')) { -- GitLab