3 declare(strict_types=1);
25 $this->database = $db;
35 if ($this->database->tableExists(
'ctrl_calls')) {
36 $this->database->dropTable(
'ctrl_calls');
47 if ($this->database->tableExists(
'ctrl_classfile')) {
48 $this->database->dropTable(
'ctrl_classfile');
59 if ($this->database->tableExists(
'ctrl_structure')) {
60 $this->database->dropTable(
'ctrl_structure');
71 if ($this->database->tableExists(
'il_request_token')) {
72 $this->database->dropTable(
'il_request_token');
83 if ($this->database->tableExists(
'service_class')) {
84 $this->database->dropTable(
'service_class');
95 if ($this->database->tableExists(
'module_class')) {
96 $this->database->dropTable(
'module_class');
109 if (null === $this->database) {
110 throw new LogicException(self::class .
"::prepare() must be called before db-update-steps execution.");
step_5()
Deletes the table 'service_class' from the database, since information is now stored in an artifact...
step_6()
Deletes the table 'module_class' from the database, since information is now stored in an artifact...
prepare(ilDBInterface $db)
step_4()
Deletes the table 'il_request_token' from the database, since tokens are now stored in the ILIAS sess...
step_1()
Deletes the table 'ctrl_calls' from the database, as it is no longer needed.
step_2()
Deletes the table 'ctrl_classfile' from the database, as it is no longer needed.
Class ilCtrlDatabaseUpdateSteps holds the database update- steps affecting ilCtrl tables...
abortIfNotPrepared()
Halts the execution of these update steps if no database was provided.
step_3()
Deletes the table 'ctrl_structure' from the database, as it is no longer needed.