ILIAS  trunk Revision v11.0_alpha-1861-g09f3d197f78
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
AbandonAuthRichTextEditorDatabaseUpdateSteps Class Reference
+ Inheritance diagram for AbandonAuthRichTextEditorDatabaseUpdateSteps:
+ Collaboration diagram for AbandonAuthRichTextEditorDatabaseUpdateSteps:

Public Member Functions

 prepare (ilDBInterface $db)
 
 step_1 ()
 
- Public Member Functions inherited from ilDatabaseUpdateSteps
 prepare (\ilDBInterface $db)
 Prepare the execution of the steps. More...
 

Protected Attributes

ilDBInterface $db
 

Detailed Description

Member Function Documentation

◆ prepare()

AbandonAuthRichTextEditorDatabaseUpdateSteps::prepare ( ilDBInterface  $db)

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

References $db.

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

◆ step_1()

AbandonAuthRichTextEditorDatabaseUpdateSteps::step_1 ( )

Definition at line 30 of file class.AbandonAuthRichTextEditorDatabaseUpdateSteps.php.

References ilDBConstants\T_TEXT.

30  : void
31  {
32  if ($this->db->tableExists('settings')) {
33  $query = 'DELETE FROM settings WHERE module = ' . $this->db->quote('login_settings', 'text')
34  . ' AND ' . $this->db->like('keyword', ilDBConstants::T_TEXT, 'login_message_%');
35 
36  $this->db->manipulate($query);
37  }
38  }

Field Documentation

◆ $db

ilDBInterface AbandonAuthRichTextEditorDatabaseUpdateSteps::$db
protected

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

Referenced by prepare().


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