Don't freshing config when doing update. That is it's own command
This commit is contained in:
parent
146ea4822d
commit
3cc243b9a8
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue