From 4e73c60243f51effb889de5d19cf2a7c31fbb5f0 Mon Sep 17 00:00:00 2001 From: Fabian Wolf Date: Mon, 23 Oct 2023 14:52:23 +0200 Subject: [PATCH] Release 7.26 --- include/inc.ilias_version.php | 4 ++-- setup/sql/ilDBTemplate.php | 28 +++++++++++++++++++++++++++- setup/sql/ilias3.sql | 19 +++++++++++++++++-- 3 files changed, 46 insertions(+), 5 deletions(-) diff --git a/include/inc.ilias_version.php b/include/inc.ilias_version.php index f20ef6ea4e6b..896e2605e42c 100644 --- a/include/inc.ilias_version.php +++ b/include/inc.ilias_version.php @@ -9,5 +9,5 @@ * * @package ilias-core */ -define("ILIAS_VERSION", "7.25 2023-09-12"); -define("ILIAS_VERSION_NUMERIC", "7.25"); // since version ILIAS 6 this must be always x.y: x and y are numbers +define("ILIAS_VERSION", "7.26 2023-10-23"); +define("ILIAS_VERSION_NUMERIC", "7.26"); // since version ILIAS 6 this must be always x.y: x and y are numbers diff --git a/setup/sql/ilDBTemplate.php b/setup/sql/ilDBTemplate.php index c77546ccacc9..500bbb244d36 100644 --- a/setup/sql/ilDBTemplate.php +++ b/setup/sql/ilDBTemplate.php @@ -47346,7 +47346,7 @@ function setupILIASDatabase() 'module' => array('text', 'common'), 'keyword' => array('text', 'db_hotfixes_5_3'), 'value' => array('clob', '18'))); $ilDB->insert("settings", array( -'module' => array('text', 'common'), 'keyword' => array('text', 'db_hotfixes_7'), 'value' => array('clob', '105'))); +'module' => array('text', 'common'), 'keyword' => array('text', 'db_hotfixes_7'), 'value' => array('clob', '106'))); $ilDB->insert("settings", array( 'module' => array('text', 'common'), 'keyword' => array('text', 'db_update_running'), 'value' => array('clob', '0'))); @@ -56496,6 +56496,32 @@ function setupILIASDatabase() $ilDB->createSequence("usr_account_codes", 1); +// +// usr_change_email_token +// +$fields = array ( + "token" => array ( + "notnull" => false + ,"length" => 32 + ,"fixed" => false + ,"type" => "text" + ) + ,"new_email" => array ( + "notnull" => false + ,"length" => 256 + ,"fixed" => false + ,"type" => "text" + ) + ,"valid_until" => array ( + "notnull" => false + ,"length" => 8 + ,"unsigned" => false + ,"type" => "integer" + ) +); +$ilDB->createTable("usr_change_email_token", $fields); + + // // usr_cron_mail_reminder // diff --git a/setup/sql/ilias3.sql b/setup/sql/ilias3.sql index aad9d44c4902..92c7b6452987 100644 --- a/setup/sql/ilias3.sql +++ b/setup/sql/ilias3.sql @@ -19937,7 +19937,7 @@ INSERT INTO `settings` VALUES ('common','dbupwarn_tos_migr_54x','1'); INSERT INTO `settings` VALUES ('common','dbupwarn_tstfixqstseq','1'); INSERT INTO `settings` VALUES ('common','dbup_tst_skl_thres_mig_done','1'); INSERT INTO `settings` VALUES ('common','db_hotfixes_5_3','18'); -INSERT INTO `settings` VALUES ('common','db_hotfixes_7','105'); +INSERT INTO `settings` VALUES ('common','db_hotfixes_7','106'); INSERT INTO `settings` VALUES ('common','db_update_running','0'); INSERT INTO `settings` VALUES ('common','db_version','5751'); INSERT INTO `settings` VALUES ('common','default_repository_view','flat'); @@ -23789,6 +23789,21 @@ CREATE TABLE `usr_account_codes_seq` ( -- +-- +-- Table structure for table `usr_change_email_token` +-- + +CREATE TABLE `usr_change_email_token` ( + `token` varchar(32) DEFAULT NULL, + `new_email` varchar(256) DEFAULT NULL, + `valid_until` bigint(20) DEFAULT NULL +) ; + +-- +-- Dumping data for table `usr_change_email_token` +-- + + -- -- Table structure for table `usr_cron_mail_reminder` -- @@ -25031,4 +25046,4 @@ CREATE TABLE `xmlvalue_seq` ( --- Dump completed on 2023-09-12 16:24:46 +-- Dump completed on 2023-10-23 14:50:18