ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
ilECSDBUpdateSteps Class Reference

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...

+ Inheritance diagram for ilECSDBUpdateSteps:
+ Collaboration diagram for ilECSDBUpdateSteps:

Public Member Functions

 prepare (\ilDBInterface $db)
 Prepare the execution of the steps. More...
 
 step_1 ()
 

Protected Attributes

ilDBInterface $db
 

Detailed Description

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.

ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.

If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning

Definition at line 18 of file class.ilECSDBUpdateSteps.php.

Member Function Documentation

◆ prepare()

ilECSDBUpdateSteps::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 22 of file class.ilECSDBUpdateSteps.php.

References $db.

22  : void
23  {
24  $this->db = $db;
25  }

◆ step_1()

ilECSDBUpdateSteps::step_1 ( )

Definition at line 27 of file class.ilECSDBUpdateSteps.php.

27  : void
28  {
29  if ($this->db->tableColumnExists('ecs_server', 'polling_time')) {
30  $this->db->dropTableColumn('ecs_server', 'polling_time');
31  }
32  }

Field Documentation

◆ $db

ilDBInterface ilECSDBUpdateSteps::$db
protected

Definition at line 20 of file class.ilECSDBUpdateSteps.php.

Referenced by prepare().


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