if ((int) $settings->get('activate_captcha_anonym', 0)) { $settings_captcha->set('activate_captcha_anonym_frm', 1); $settings_captcha->set('activate_captcha_anonym_wiki', 1); } $settings->delete('activate_captcha_anonym'); ?> <#4131> <?php if (!$ilDB->tableColumnExists("usr_data", "is_self_registered")) { $ilDB->addTableColumn("usr_data", "is_self_registered", array("type" => "integer", "notnull" => true, "default" => 0, "length" => 1)); } ?> <#4132> <?php include_once './Services/Migration/DBUpdate_3560/classes/class.ilDBUpdateNewObjectType.php'; ilDBUpdateNewObjectType::addAdminNode('wiks', 'Wiki Settings'); ?> <#4133> <?php $ilCtrlStructureReader->getStructure(); ?> <#4134> <?php if (!$ilDB->tableExists('il_qpl_qst_fq_res_unit')) { $fields = array('result_unit_id' => array('type' => 'integer', 'length' => 4, 'notnull' => true, 'default' => 0), 'result' => array('type' => 'text', 'length' => 255, 'notnull' => false, 'default' => null), 'question_fi' => array('type' => 'integer', 'length' => 4, 'notnull' => true, 'default' => 0), 'unit_fi' => array('type' => 'integer', 'length' => 4, 'notnull' => true, 'default' => 0)); $ilDB->createTable('il_qpl_qst_fq_res_unit', $fields); $ilDB->addPrimaryKey('il_qpl_qst_fq_res_unit', array('result_unit_id')); $ilDB->createSequence('il_qpl_qst_fq_res_unit'); $ilDB->addIndex('il_qpl_qst_fq_res_unit', array('question_fi', 'unit_fi'), 'i1'); } ?>
<?php $ilDB->manipulate("UPDATE settings " . "SET value = " . $ilDB->quote(1370, "text") . " WHERE module = " . $ilDB->quote("blga", "text") . " AND keyword = " . $ilDB->quote("banner_width", "text") . " AND value = " . $ilDB->quote(880, "text")); $ilDB->manipulate("UPDATE settings " . "SET value = " . $ilDB->quote(1370, "text") . " WHERE module = " . $ilDB->quote("prfa", "text") . " AND keyword = " . $ilDB->quote("banner_width", "text") . " AND value = " . $ilDB->quote(880, "text")); ?> <#4441> <?php include_once './Services/Migration/DBUpdate_3560/classes/class.ilDBUpdateNewObjectType.php'; $tgt_ops_id = ilDBUpdateNewObjectType::getCustomRBACOperationId('copy'); if ($tgt_ops_id) { $feed_type_id = ilDBUpdateNewObjectType::getObjectTypeId('feed'); if ($feed_type_id) { // add "copy" to (external) feed ilDBUpdateNewObjectType::addRBACOperation($feed_type_id, $tgt_ops_id); // clone settings from "write" to "copy" $src_ops_id = ilDBUpdateNewObjectType::getCustomRBACOperationId('write'); ilDBUpdateNewObjectType::cloneOperation('feed', $src_ops_id, $tgt_ops_id); } } ?> <#4442> <?php $ilCtrlStructureReader->getStructure(); ?> <#4443> <?php $ilCtrlStructureReader->getStructure(); ?> <#4444> <?php $ilCtrlStructureReader->getStructure(); ?>
if ($grp_type_id) { $ops_id = ilDBUpdateNewObjectType::getCustomRBACOperationId('create_crsr'); ilDBUpdateNewObjectType::addRBACOperation($grp_type_id, $ops_id); $ops_id = ilDBUpdateNewObjectType::getCustomRBACOperationId('create_catr'); ilDBUpdateNewObjectType::addRBACOperation($grp_type_id, $ops_id); } ?> <#3800> <?php $ilCtrlStructureReader->getStructure(); ?> <#3801> <?php include_once './Services/Migration/DBUpdate_3560/classes/class.ilDBUpdateNewObjectType.php'; $ops_id = ilDBUpdateNewObjectType::getCustomRBACOperationId('copy'); ilDBUpdateNewObjectType::deleteRBACOperation('rcat', $ops_id); ?> <#3802> <?php $ilCtrlStructureReader->getStructure(); ?> <#3803> <?php if (!$ilDB->tableExists('ecs_crs_mapping_atts')) { $fields = array('id' => array('notnull' => true, 'length' => 4, 'type' => 'integer'), "sid" => array("notnull" => true, "length" => 4, "type" => "integer"), "mid" => array("notnull" => true, "length" => 4, "type" => "integer"), "name" => array("notnull" => false, 'length' => 64, "type" => "text")); $ilDB->createTable("ecs_crs_mapping_atts", $fields); $ilDB->createSequence('ecs_crs_mapping_atts'); $ilDB->addPrimaryKey('ecs_crs_mapping_atts', array('id')); } ?>