From 88b9a1b2591b95ee241d67aa91cdf567a22885f5 Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Thu, 18 Oct 2018 08:49:13 -0400 Subject: [PATCH] Don't auto enable show privacy --- scripts/zmupdate.pl.in | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/zmupdate.pl.in b/scripts/zmupdate.pl.in index 45d45851a..b66397740 100644 --- a/scripts/zmupdate.pl.in +++ b/scripts/zmupdate.pl.in @@ -923,10 +923,10 @@ if ( $version ) { die( "Can't find upgrade from version '$version'" ); } # Re-enable the privacy popup after each upgrade - my $sql = "update Config set Value = 1 where Name = 'ZM_SHOW_PRIVACY'"; - my $sth = $dbh->prepare_cached( $sql ) or die( "Can't prepare '$sql': ".$dbh->errstr() ); - my $res = $sth->execute( ) or die( "Can't execute: ".$sth->errstr() ); - $sth->finish(); + #my $sql = "update Config set Value = 1 where Name = 'ZM_SHOW_PRIVACY'"; + #my $sth = $dbh->prepare_cached( $sql ) or die( "Can't prepare '$sql': ".$dbh->errstr() ); + #my $res = $sth->execute( ) or die( "Can't execute: ".$sth->errstr() ); + #$sth->finish(); print( "\nDatabase upgrade to version ".ZM_VERSION." successful.\n\n" ); } zmDbDisconnect();