19declare(strict_types=1);
 
   27    protected \ilDBInterface 
$db;
 
   37        if (!$this->db->indexExistsByFields(
'webr_items', [
'webr_id'])) {
 
   38            $this->db->addIndex(
'webr_items', [
'webr_id'], 
'i3');
 
   47            $this->db->tableExists(
'webr_items') &&
 
   48            !$this->db->indexExistsByFields(
'webr_items', [
'webr_id', 
'active'])
 
   50            $this->db->addIndex(
'webr_items', [
'webr_id', 
'active'], 
'i4');
 
General purpose update steps for weblinks.
 
prepare(\ilDBInterface $db)
Prepare the execution of the steps.
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...