ILIAS
trunk Revision v11.0_alpha-2645-g16283d3b3f8
◀ ilDoc Overview
class.ilTreeDBUpdateSteps8.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
24
class
ilTreeDBUpdateSteps8
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
// Add index
36
if
($this->db->indexExistsByFields(
'tree'
, [
'child'
])) {
37
$this->db->dropIndex(
'tree'
,
'i1'
);
38
}
39
}
40
}
ilTreeDBUpdateSteps8
Definition:
class.ilTreeDBUpdateSteps8.php:24
ilTreeDBUpdateSteps8\step_1
step_1()
Definition:
class.ilTreeDBUpdateSteps8.php:33
ilTreeDBUpdateSteps8\prepare
prepare(ilDBInterface $db)
Definition:
class.ilTreeDBUpdateSteps8.php:28
ilDBInterface
ilDatabaseUpdateSteps
ilTreeDBUpdateSteps8\$db
ilDBInterface $db
Definition:
class.ilTreeDBUpdateSteps8.php:26
components
ILIAS
Tree
classes
Setup
class.ilTreeDBUpdateSteps8.php
Generated on Mon Sep 1 2025 23:04:17 for ILIAS by
1.8.13 (using
Doxyfile
)