Remove fatal version check. Just error.
parent
8b3ed97fa4
commit
ca22ae3737
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue