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

(-)a/installer/data/mysql/updatedatabase.pl (-1 / +8 lines)
Lines 7743-7748 if(CheckVersion($DBversion)) { Link Here
7743
    SetVersion($DBversion);
7743
    SetVersion($DBversion);
7744
}
7744
}
7745
7745
7746
$DBversion = "3.15.00.XXX";
7747
if ( C4::Context->preference("Version") < TransformToNum($DBversion) ) {
7748
    $dbh->do("INSERT IGNORE INTO systempreferences (variable,value,options,explanation,type) VALUES('SearchEngine','Zebra','Solr|Zebra','Search Engine','Choice')");
7749
    print "Upgrade to $DBversion done (Bug 11196: Add system preference SearchEngine if missing )\n";
7750
    SetVersion($DBversion);
7751
}
7752
7753
7746
=head1 FUNCTIONS
7754
=head1 FUNCTIONS
7747
7755
7748
=head2 TableExists($table)
7756
=head2 TableExists($table)
7749
- 

Return to bug 11196