Skip to content

Commit

Permalink
Remove session_reminder_enabled from usr_pref
Browse files Browse the repository at this point in the history
  • Loading branch information
fhelfer authored and kergomard committed Oct 23, 2024
1 parent 658414a commit 32fdb75
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions components/ILIAS/User/src/Setup/DBUpdateSteps10.php
Original file line number Diff line number Diff line change
Expand Up @@ -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']
);
}
}

0 comments on commit 32fdb75

Please sign in to comment.