Don't freshing config when doing update. That is it's own command

This commit is contained in:
Isaac Connor 2022-01-24 09:23:19 -05:00
parent 146ea4822d
commit 3cc243b9a8
1 changed files with 0 additions and 5 deletions

View File

@ -444,11 +444,6 @@ if ( $version ) {
print( "\nUpgrading database to version ".ZM_VERSION."\n" ); print( "\nUpgrading database to version ".ZM_VERSION."\n" );
# Update config first of all
migratePaths();
ZoneMinder::Config::loadConfigFromDB();
ZoneMinder::Config::saveConfigToDB();
my $cascade = undef; my $cascade = undef;
if ( $cascade || $version eq "1.19.0" ) { if ( $cascade || $version eq "1.19.0" ) {
# Patch the database # Patch the database