Bug 22311: DBRev 18.12.00.052
[koha-equinox.git] / installer / data / mysql / updatedatabase.pl
index 46b6a7f..310c13c 100755 (executable)
@@ -18063,6 +18063,17 @@ if( CheckVersion( $DBversion ) ) {
     print "Upgrade to $DBversion done (Bug 21336 - Reset login_attempts)\n";
 }
 
+$DBversion = '18.12.00.052';
+if( CheckVersion( $DBversion ) ) {
+    $dbh->do(q{
+        INSERT IGNORE INTO systempreferences ( `variable`, `value`, `options`, `explanation`, `type` ) VALUES
+        ('OpacMoreSearches', '', NULL, 'Add additional elements to the OPAC more searches bar', 'Textarea')
+    } );
+
+    SetVersion( $DBversion );
+    print "Upgrade to $DBversion done (Bug 22311 - Add a SysPref to allow adding content to the #moresearches div in the opac)\n";
+}
+
 # SEE bug 13068
 # if there is anything in the atomicupdate, read and execute it.