X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=gui%2Fbrestore%2Fbrestore.pl;h=bfcbeaba63c3454302aa8a646baa5f7c497cd1b9;hb=d3274117ad14dba7550c289e353405dc1821dfdd;hp=fb6178ceef2ede9b0e73e8980e87a3015bca8f1a;hpb=2e3fe1be61e201e19e24655ada6b327573f10d1c;p=bacula%2Fbacula diff --git a/gui/brestore/brestore.pl b/gui/brestore/brestore.pl index fb6178ceef..bfcbeaba63 100755 --- a/gui/brestore/brestore.pl +++ b/gui/brestore/brestore.pl @@ -2397,6 +2397,9 @@ sub update_cache $self->update_brestore_table(map { $_->[0] } @$jobs); + $self->{conf}->{dbh}->commit(); + $self->{conf}->{dbh}->begin_work(); + print STDERR "Cleaning path visibility\n"; my $nb = $self->dbh_do("