ILIAS
trunk Revision v12.0_alpha-16-g3e876e53c80
◀ ilDoc Overview
HistoryDatabaseUpdateSteps11.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\History\Setup
;
22
23
use
ilDatabaseUpdateSteps
;
24
use
ilDBInterface
;
25
26
class
HistoryDatabaseUpdateSteps11
implements
ilDatabaseUpdateSteps
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
}
ILIAS\History\Setup\HistoryDatabaseUpdateSteps11
Definition:
HistoryDatabaseUpdateSteps11.php:27
ILIAS\History\Setup\HistoryDatabaseUpdateSteps11\prepare
prepare(ilDBInterface $db)
Definition:
HistoryDatabaseUpdateSteps11.php:30
ILIAS\History\Setup\HistoryDatabaseUpdateSteps11\step_1
step_1()
Definition:
HistoryDatabaseUpdateSteps11.php:35
ILIAS\History\Setup\HistoryDatabaseUpdateSteps11\$db
ilDBInterface $db
Definition:
HistoryDatabaseUpdateSteps11.php:28
ilDBInterface
Interface ilDBInterface.
Definition:
interface.ilDBInterface.php:30
ilDatabaseUpdateSteps
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
interface.ilDatabaseUpdateSteps.php:44
ILIAS\History\Setup
Definition:
HistoryDatabaseUpdateSteps11.php:21
components
ILIAS
History
src
Setup
HistoryDatabaseUpdateSteps11.php
Generated on Sun Nov 2 2025 23:02:34 for ILIAS by
1.9.4 (using
Doxyfile
)