Bug 41834: (follow-up) nullify marcflavour in atomicupdate
Signed-off-by: David Cook <dcook@prosentient.com.au> Signed-off-by: Martin Renvoize <martin.renvoize@openfifth.co.uk>
This commit is contained in:
parent
92b8e9ea3c
commit
e403698cd2
|
|
@ -66,6 +66,16 @@ return {
|
|||
WHERE variable IN (} . join( q{,}, map { q{?} } @sysprefs ) . q{)}, undef, @sysprefs
|
||||
);
|
||||
|
||||
my $updated_last = $dbh->do(
|
||||
q{
|
||||
UPDATE systempreferences
|
||||
SET options=NULL, explanation=NULL, type=NULL
|
||||
WHERE variable = 'marcflavour'
|
||||
}
|
||||
);
|
||||
|
||||
$updated = $updated + $updated_last;
|
||||
|
||||
say $out sprintf "Updated %s system preferences", $updated;
|
||||
},
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue