diff --git a/components/ILIAS/User/src/Setup/DBUpdateSteps10.php b/components/ILIAS/User/src/Setup/DBUpdateSteps10.php index 023150a60853..cf7c7e9e41cb 100755 --- a/components/ILIAS/User/src/Setup/DBUpdateSteps10.php +++ b/components/ILIAS/User/src/Setup/DBUpdateSteps10.php @@ -103,12 +103,18 @@ public function step_3(): void [\ilDBConstants::T_TEXT, \ilDBConstants::T_TEXT, \ilDBConstants::T_INTEGER], ['common', 'session_reminder_lead_time', \ilSessionReminder::SUGGESTED_LEAD_TIME] ); - $query = 'DELETE FROM settings WHERE module = %s AND keyword = %s'; - $this->db->manipulateF( - $query, - [\ilDBConstants::T_TEXT, \ilDBConstants::T_TEXT], - ['common', 'session_reminder_enabled'] - ); } + $query = 'DELETE FROM settings WHERE module = %s AND keyword = %s'; + $this->db->manipulateF( + $query, + [\ilDBConstants::T_TEXT, \ilDBConstants::T_TEXT], + ['common', 'session_reminder_enabled'] + ); + $query = 'DELETE FROM usr_pref WHERE keyword = %s'; + $this->db->manipulateF( + $query, + [\ilDBConstants::T_TEXT], + ['session_reminder_enabled'] + ); } }