ILIAS
trunk Revision v12.0_alpha-1540-g00f839d5fa1
◀ ilDoc Overview
class.ilCalendarDBUpdateSteps10.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
24
class
ilCalendarDBUpdateSteps10
implements
ilDatabaseUpdateSteps
25
{
26
protected \ilDBInterface
$db
;
27
28
public
function
prepare
(\
ilDBInterface
$db
): void
29
{
30
$this->db =
$db
;
31
}
32
33
public
function
step_1
(): void
34
{
35
if
($this->db->tableColumnExists(
'booking_entry'
,
'booking_group'
)) {
36
$this->db->dropTableColumn(
'booking_entry'
,
'booking_group'
);
37
}
38
}
39
40
public
function
step_2
(): void
41
{
42
if
($this->db->tableExists(
'cal_ch_groups'
)) {
43
$this->db->dropTable(
'cal_ch_groups'
);
44
}
45
}
46
}
ilCalendarDBUpdateSteps10
Definition:
class.ilCalendarDBUpdateSteps10.php:25
ilCalendarDBUpdateSteps10\prepare
prepare(\ilDBInterface $db)
Prepare the execution of the steps.
Definition:
class.ilCalendarDBUpdateSteps10.php:28
ilCalendarDBUpdateSteps10\step_1
step_1()
Definition:
class.ilCalendarDBUpdateSteps10.php:33
ilCalendarDBUpdateSteps10\step_2
step_2()
Definition:
class.ilCalendarDBUpdateSteps10.php:40
ilCalendarDBUpdateSteps10\$db
ilDBInterface $db
Definition:
class.ilCalendarDBUpdateSteps10.php:26
ilDBInterface
Interface ilDBInterface.
Definition:
ilDBInterface.php:30
ilDatabaseUpdateSteps
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
ilDatabaseUpdateSteps.php:44
components
ILIAS
Calendar
classes
Setup
class.ilCalendarDBUpdateSteps10.php
Generated on Wed Jun 3 2026 23:04:18 for ILIAS by
1.9.4 (using
Doxyfile
)