ILIAS  release_8 Revision v8.24
class.ilBackgroundTasksDB80.php
Go to the documentation of this file.
1<?php
2
19use ILIAS\Setup;
21
23{
24 protected ilDBInterface $db;
25
26 public function prepare(ilDBInterface $db): void
27 {
28 $this->db = $db;
29 }
30
31 public function step_1(): void
32 {
33 if (!$this->db->indexExistsByFields('il_bt_bucket', ['user_id'])) {
34 $this->db->addIndex('il_bt_bucket', ['user_id'], 'i1');
35 }
36 }
37}
A password is used as part of credentials for authentication.
Definition: Password.php:17
Interface ilDBInterface.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...