View | Details | Raw Unified | Return to bug 20056
Collapse All | Expand All

(-)a/misc/maintenance/cmp_sysprefs.pl (-2 / +1 lines)
Lines 217-223 sub InsertIgnoreOnePref { Link Here
217
217
218
sub UpdateOnePref {
218
sub UpdateOnePref {
219
    my ( $k, $v ) = @_;
219
    my ( $k, $v ) = @_;
220
    return if lc $k eq 'version';
220
    return 0 if lc $k eq 'version';
221
    my $i = $dbh->do( 'UPDATE systempreferences SET value=? WHERE variable=?', undef, ( $v, $k ) );
221
    my $i = $dbh->do( 'UPDATE systempreferences SET value=? WHERE variable=?', undef, ( $v, $k ) );
222
    return !defined($i) || $i eq '0E0'? 0: $i;
222
    return !defined($i) || $i eq '0E0'? 0: $i;
223
}
223
}
224
- 

Return to bug 20056