From e71c5e94a4b0367b3bb9b0c3cb53e97f63c550bb Mon Sep 17 00:00:00 2001 From: Ingmar Szmais Date: Tue, 14 Apr 2020 14:24:24 +0200 Subject: [PATCH 1/2] fix classname changes --- setup/sql/6_0_hotfixes.php | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/setup/sql/6_0_hotfixes.php b/setup/sql/6_0_hotfixes.php index 67a9f03fec67..23d494ef00a3 100644 --- a/setup/sql/6_0_hotfixes.php +++ b/setup/sql/6_0_hotfixes.php @@ -84,4 +84,13 @@ ')'; $ilDB->manipulate($query); } -?> \ No newline at end of file +?> +<#10> +manipulate( + "UPDATE il_cert_cron_queue SET adapter_class = " . $ilDB->quote('ilTestPlaceHolderValues', 'text') . " WHERE adapter_class = " . $ilDB->quote('ilTestPlaceholderValues', 'text') +); +$ilDB->manipulate( + "UPDATE il_cert_cron_queue SET adapter_class = " . $ilDB->quote('ilExercisePlaceHolderValues', 'text') . " WHERE adapter_class = " . $ilDB->quote('ilExercisePlaceholderValues', 'text') +); +?> From 0ce64b649558315cad4a602c6cc6b7b46b0892c2 Mon Sep 17 00:00:00 2001 From: Ingmar Szmais Date: Tue, 14 Apr 2020 16:28:41 +0200 Subject: [PATCH 2/2] fix count and swap values --- setup/sql/6_0_hotfixes.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/setup/sql/6_0_hotfixes.php b/setup/sql/6_0_hotfixes.php index 521328eede22..2cefa01e9efe 100644 --- a/setup/sql/6_0_hotfixes.php +++ b/setup/sql/6_0_hotfixes.php @@ -186,12 +186,12 @@ include_once('./Services/Migration/DBUpdate_3560/classes/class.ilDBUpdateNewObjectType.php'); ilDBUpdateNewObjectType::addAdminNode('lsos', 'LearningSequenceAdmin'); ?> -<#16> +<#17> manipulate( - "UPDATE il_cert_cron_queue SET adapter_class = " . $ilDB->quote('ilTestPlaceHolderValues', 'text') . " WHERE adapter_class = " . $ilDB->quote('ilTestPlaceholderValues', 'text') + "UPDATE il_cert_cron_queue SET adapter_class = " . $ilDB->quote('ilTestPlaceholderValues', 'text') . " WHERE adapter_class = " . $ilDB->quote('ilTestPlaceHolderValues', 'text') ); $ilDB->manipulate( - "UPDATE il_cert_cron_queue SET adapter_class = " . $ilDB->quote('ilExercisePlaceHolderValues', 'text') . " WHERE adapter_class = " . $ilDB->quote('ilExercisePlaceholderValues', 'text') + "UPDATE il_cert_cron_queue SET adapter_class = " . $ilDB->quote('ilExercisePlaceholderValues', 'text') . " WHERE adapter_class = " . $ilDB->quote('ilExercisePlaceHolderValues', 'text') ); ?>