ILIAS  trunk Revision v11.0_alpha-2662-g519ff7d528f
ilTrackingUpdateSteps9 Class Reference
+ Inheritance diagram for ilTrackingUpdateSteps9:
+ Collaboration diagram for ilTrackingUpdateSteps9:

Public Member Functions

 prepare (\ilDBInterface $db)
 Prepare the execution of the steps. More...
 
 step_1 ()
 Remove the unused table 'catch_write_events'. More...
 

Protected Attributes

ilDBInterface $db
 

Detailed Description

Definition at line 21 of file class.ilTrackingUpdateSteps9.php.

Member Function Documentation

◆ prepare()

ilTrackingUpdateSteps9::prepare ( \ilDBInterface  $db)

Prepare the execution of the steps.

Do not use anything from the globals or the DIC inside your steps, only use the instance of the database provided here.

Implements ilDatabaseUpdateSteps.

Definition at line 25 of file class.ilTrackingUpdateSteps9.php.

References $db.

25  : void
26  {
27  $this->db = $db;
28  }

◆ step_1()

ilTrackingUpdateSteps9::step_1 ( )

Remove the unused table 'catch_write_events'.

Definition at line 33 of file class.ilTrackingUpdateSteps9.php.

33  : void
34  {
35  if ($this->db->tableExists('catch_write_events')) {
36  $this->db->dropTable('catch_write_events');
37  }
38  }

Field Documentation

◆ $db

ilDBInterface ilTrackingUpdateSteps9::$db
protected

Definition at line 23 of file class.ilTrackingUpdateSteps9.php.

Referenced by prepare().


The documentation for this class was generated from the following file: