Fridolin Somers
2 years ago
3 changed files with 17 additions and 10 deletions
@ -1,9 +0,0 @@ |
|||
$DBversion = 'XXX'; |
|||
if (CheckVersion($DBversion)) { |
|||
$dbh->do(q{ |
|||
INSERT IGNORE INTO systempreferences (`variable`, `value`, `options`, `explanation`, `type`) VALUES |
|||
('AuthorityXSLTResultsDisplay','','','Enable XSL stylesheet control over authority results page display on intranet','Free') |
|||
}); |
|||
|
|||
NewVersion($DBversion, '11083', 'Add syspref AuthorityXSLTResultsDisplay'); |
|||
} |
@ -0,0 +1,16 @@ |
|||
use Modern::Perl; |
|||
|
|||
return { |
|||
bug_number => "11083", |
|||
description => "Add syspref AuthorityXSLTResultsDisplay", |
|||
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 |
|||
('AuthorityXSLTResultsDisplay','','','Enable XSL stylesheet control over authority results page display on intranet','Free') |
|||
}); |
|||
}, |
|||
}; |
|||
|
Loading…
Reference in new issue