ILIAS  trunk Revision v12.0_alpha-16-g3e876e53c80
HistoryDatabaseUpdateSteps11.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
25
27{
28 protected ilDBInterface $db;
29
30 public function prepare(ilDBInterface $db): void
31 {
32 $this->db = $db;
33 }
34
35 public function step_1(): void
36 {
37 if ($this->db->tableExists('history')) {
38 $this->db->dropTable('history');
39 }
40 if ($this->db->tableExists('history_seq')) {
41 $this->db->dropTable('history_seq');
42 }
43 }
44}
Interface ilDBInterface.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...