Remove fatal version check. Just error.

This commit is contained in:
Isaac Connor
2026-02-10 14:14:40 -05:00
parent 8b3ed97fa4
commit ca22ae3737

View File

@@ -178,18 +178,10 @@ if ( $command =~ /^(?:start|restart)$/ ) {
) {
my ( $db_major, $db_minor, $db_micro ) = split(/\./, $Config{ZM_DYN_DB_VERSION});
my ( $major, $minor, $micro ) = split(/\./, ZM_VERSION);
if ( $db_major != $major or $db_minor != $minor ) {
Fatal('Version mismatch, system is version '.ZM_VERSION
.', database is '.$Config{ZM_DYN_DB_VERSION}
.', please run zmupdate.pl to update.'
);
exit(-1);
} else {
Error('Version mismatch, system is version '.ZM_VERSION
.', database is '.$Config{ZM_DYN_DB_VERSION}
.', please run zmupdate.pl to update.'
);
}
Error('Version mismatch, system is version '.ZM_VERSION
.', database is '.$Config{ZM_DYN_DB_VERSION}
.', please run zmupdate.pl to update.'
);
} # end if version mismatch
# Recreate the temporary directory if it's been wiped