Issue #2885413: follow-up to correct the condition that skips the update.

merge-requests/9125/head^2
catch 2024-08-28 16:15:06 +09:00
parent d8c2dc5637
commit 83d68bd711
1 changed files with 1 additions and 1 deletions

View File

@ -1721,7 +1721,7 @@ function _system_advisories_requirements(array &$requirements): void {
*/ */
function system_update_11001(&$sandbox) { function system_update_11001(&$sandbox) {
// Execute only if allowed setting, 'timestamp_field_update_y2038', is true. // Execute only if allowed setting, 'timestamp_field_update_y2038', is true.
if (Settings::get('timestamp_field_update_y2038', FALSE) === FALSE) { if (Settings::get('timestamp_field_update_y2038', TRUE) === FALSE) {
return t("Update '11001 - Update TimestampItem field schema size to support dates greater than 2038' skipped due to setting of 'timestamp_field_update_y2038' in settings.php"); return t("Update '11001 - Update TimestampItem field schema size to support dates greater than 2038' skipped due to setting of 'timestamp_field_update_y2038' in settings.php");
} }
$timeout = Settings::get('timestamp_field_update_y2038_timeout', 0); $timeout = Settings::get('timestamp_field_update_y2038_timeout', 0);