Remove fatal version check. Just error.

This commit is contained in:
Isaac Connor committed 2026-02-12 16:53:29 -05:00
1 parent 8b3ed97fa4
commit ca22ae3737
1 file changed
+4 -12
+4 -12
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