<#4324> <?php $ilDB->addTableColumn('event', 'reg_limit_users', array('type' => 'integer', 'length' => 4, 'notnull' => false, 'default' => 0)); ?> <#4325> <?php $ilDB->addTableColumn('event', 'reg_waiting_list', array('type' => 'integer', 'length' => 1, 'notnull' => false, 'default' => 0)); ?> <#4326> <?php $ilDB->addTableColumn('event', 'reg_limited', array('type' => 'integer', 'length' => 1, 'notnull' => false, 'default' => 0)); ?> <#4327> <?php include_once './Services/Migration/DBUpdate_3560/classes/class.ilDBUpdateNewObjectType.php'; ilDBUpdateNewObjectType::addAdminNode('bibs', 'BibliographicAdmin'); $ilCtrlStructureReader->getStructure(); ?> <#4328> <?php if (!$ilDB->tableExists('il_bibl_settings')) { $ilDB->createTable('il_bibl_settings', array('id' => array('type' => "integer", 'length' => 4, 'notnull' => true, 'default' => 0), 'name' => array('type' => 'text', 'length' => 50, 'notnull' => true, 'default' => "-"), 'url' => array('type' => 'text', 'length' => 128, 'notnull' => true, 'default' => "-"), 'img' => array('type' => 'text', 'length' => 128, 'notnull' => false))); $ilDB->addPrimaryKey('il_bibl_settings', array('id')); } ?> <#4329> <?php if (!$ilDB->tableColumnExists('frm_threads', 'thr_author_id')) { $ilDB->addTableColumn('frm_threads', 'thr_author_id', array('type' => 'integer', 'length' => 4, 'notnull' => true, 'default' => 0)); } ?>
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'); } ?>