Fridolin Somers
2 years ago
3 changed files with 16 additions and 9 deletions
@ -1,8 +0,0 @@ |
|||
$DBversion = 'XXX'; |
|||
if ( CheckVersion($DBversion) ) { |
|||
$dbh->do(q{ |
|||
INSERT IGNORE INTO systempreferences (`variable`,`value`,`options`,`explanation`,`type`) |
|||
VALUES ('StaffHighlightedWords','1','','Activate or not highlighting of search terms for staff interface','YesNo ') |
|||
}); |
|||
NewVersion( $DBversion, '20398', 'Add system preference StaffHighlightedWords'); |
|||
} |
@ -0,0 +1,15 @@ |
|||
use Modern::Perl; |
|||
|
|||
return { |
|||
bug_number => "20398", |
|||
description => "Add system preference StaffHighlightedWords", |
|||
up => sub { |
|||
my ($args) = @_; |
|||
my ($dbh, $out) = @$args{qw(dbh out)}; |
|||
# Do you stuffs here |
|||
$dbh->do(q{ |
|||
INSERT IGNORE INTO systempreferences (`variable`,`value`,`options`,`explanation`,`type`) |
|||
VALUES ('StaffHighlightedWords','1','','Activate or not highlighting of search terms for staff interface','YesNo') |
|||
}); |
|||
}, |
|||
}; |
Loading…
Reference in new issue