19 declare(strict_types=1);
37 $this->db->manipulate(
38 'DELETE FROM settings WHERE ' . $this->db->in(
41 'session_handling_type',
45 'session_max_idle_after_first_request' 50 if ($this->db->tableExists(
'usr_session_log')) {
51 $this->db->dropTable(
'usr_session_log',
false);
54 if ($this->db->tableColumnExists(
'usr_session_stats',
'max_sessions')) {
55 $this->db->dropTableColumn(
'usr_session_stats',
'max_sessions');
58 if ($this->db->tableColumnExists(
'usr_session_stats',
'closed_limit')) {
59 $this->db->dropTableColumn(
'usr_session_stats',
'closed_limit');
62 if ($this->db->tableColumnExists(
'usr_session_stats',
'closed_idle')) {
63 $this->db->dropTableColumn(
'usr_session_stats',
'closed_idle');
66 if ($this->db->tableColumnExists(
'usr_session_stats',
'closed_idle_first')) {
67 $this->db->dropTableColumn(
'usr_session_stats',
'closed_idle_first');
prepare(ilDBInterface $db)