ILIAS
trunk Revision v11.0_alpha-2662-g519ff7d528f
◀ ilDoc Overview
class.ilCalendarDBUpdateSteps10.php
Go to the documentation of this file.
1
<?php
18
declare(strict_types=1);
19
23
class
ilCalendarDBUpdateSteps10
implements
ilDatabaseUpdateSteps
24
{
25
protected \ilDBInterface
$db
;
26
27
public
function
prepare
(\
ilDBInterface
$db): void
28
{
29
$this->db =
$db
;
30
}
31
32
public
function
step_1
(): void
33
{
34
if
($this->db->tableColumnExists(
'booking_entry'
,
'booking_group'
)) {
35
$this->db->dropTableColumn(
'booking_entry'
,
'booking_group'
);
36
}
37
}
38
39
public
function
step_2
(): void
40
{
41
if
($this->db->tableExists(
'cal_ch_groups'
)) {
42
$this->db->dropTable(
'cal_ch_groups'
);
43
}
44
}
45
}
ilCalendarDBUpdateSteps10\prepare
prepare(\ilDBInterface $db)
Prepare the execution of the steps.
Definition:
class.ilCalendarDBUpdateSteps10.php:27
ilCalendarDBUpdateSteps10\step_2
step_2()
Definition:
class.ilCalendarDBUpdateSteps10.php:39
ilCalendarDBUpdateSteps10\step_1
step_1()
Definition:
class.ilCalendarDBUpdateSteps10.php:32
ilDBInterface
ilDatabaseUpdateSteps
ilCalendarDBUpdateSteps10
Definition:
class.ilCalendarDBUpdateSteps10.php:23
ilCalendarDBUpdateSteps10\$db
ilDBInterface $db
Definition:
class.ilCalendarDBUpdateSteps10.php:25
components
ILIAS
Calendar
classes
Setup
class.ilCalendarDBUpdateSteps10.php
Generated on Wed Sep 3 2025 23:02:33 for ILIAS by
1.8.13 (using
Doxyfile
)