ILIAS  trunk Revision v11.0_alpha-2662-g519ff7d528f
class.ilTrackingUpdateSteps9.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
22 {
23  protected \ilDBInterface $db;
24 
25  public function prepare(\ilDBInterface $db): void
26  {
27  $this->db = $db;
28  }
29 
33  public function step_1(): void
34  {
35  if ($this->db->tableExists('catch_write_events')) {
36  $this->db->dropTable('catch_write_events');
37  }
38  }
39 }
step_1()
Remove the unused table &#39;catch_write_events&#39;.
prepare(\ilDBInterface $db)
Prepare the execution of the steps.