Loading htdocs/lib/db/upgrade.php +16 −0 Original line number Diff line number Diff line Loading @@ -1193,5 +1193,21 @@ function xmldb_core_upgrade($oldversion=0) { ); } if ($oldversion < 2023011700) { log_debug('Make sure all LTI/LTI Advantage instances have their correct webservice'); if ($records = get_records_sql_array("SELECT * FROM {oauth_server_registry}")) { foreach ($records as $record) { $data = new stdClass(); $data->instancename = $record->application_title; $data->institution = $record->institution; $data->authname = 'webservice'; $where = clone $data; $data->priority = get_field('auth_instance', 'MAX(priority)', 'institution', $record->institution) + 1; $data->active = 1; ensure_record_exists('auth_instance', $where, $data); } } } return $status; } htdocs/lib/version.php +1 −1 Original line number Diff line number Diff line Loading @@ -16,7 +16,7 @@ $config = new stdClass(); // See https://wiki.mahara.org/wiki/Developer_Area/Version_Numbering_Policy // For upgrades on dev branches, increment the version by one. On main, use the date. $config->version = 2022121903; $config->version = 2023011700; $config->series = '23.04'; $config->release = '23.04dev'; $config->minupgradefrom = 2020013006; Loading Loading
htdocs/lib/db/upgrade.php +16 −0 Original line number Diff line number Diff line Loading @@ -1193,5 +1193,21 @@ function xmldb_core_upgrade($oldversion=0) { ); } if ($oldversion < 2023011700) { log_debug('Make sure all LTI/LTI Advantage instances have their correct webservice'); if ($records = get_records_sql_array("SELECT * FROM {oauth_server_registry}")) { foreach ($records as $record) { $data = new stdClass(); $data->instancename = $record->application_title; $data->institution = $record->institution; $data->authname = 'webservice'; $where = clone $data; $data->priority = get_field('auth_instance', 'MAX(priority)', 'institution', $record->institution) + 1; $data->active = 1; ensure_record_exists('auth_instance', $where, $data); } } } return $status; }
htdocs/lib/version.php +1 −1 Original line number Diff line number Diff line Loading @@ -16,7 +16,7 @@ $config = new stdClass(); // See https://wiki.mahara.org/wiki/Developer_Area/Version_Numbering_Policy // For upgrades on dev branches, increment the version by one. On main, use the date. $config->version = 2022121903; $config->version = 2023011700; $config->series = '23.04'; $config->release = '23.04dev'; $config->minupgradefrom = 2020013006; Loading