ILIAS  trunk Revision v11.0_alpha-1702-gfd3ecb7f852
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
MigrateExerciseCertificateProviderDBUpdateSteps.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
22 
24 {
25  protected ilDBInterface $db;
26 
27  public function prepare(ilDBInterface $db): void
28  {
29  $this->db = $db;
30  }
31 
32  public function step_1(): void
33  {
34  $this->db->update(
35  'il_cert_cron_queue',
36  ['adapter_class' => [ilDBConstants::T_TEXT, ExercisePlaceholderValues::class]],
37  ['adapter_class' => [ilDBConstants::T_TEXT, 'ilExercisePlaceholderValues']]
38  );
39  }
40 }