|
Line 0
Link Here
|
| 0 |
- |
1 |
use Modern::Perl; |
|
|
2 |
|
| 3 |
return { |
| 4 |
bug_number => 29246, |
| 5 |
description => "Rename pref template and opacthemes", |
| 6 |
up => sub { |
| 7 |
my ($args) = @_; |
| 8 |
my ($dbh, $out) = @$args{qw(dbh out)}; |
| 9 |
my $sql = q|UPDATE systempreferences SET variable=? WHERE variable=?|; |
| 10 |
$dbh->do( $sql, undef, 'opactheme', 'opacthemes'); |
| 11 |
$dbh->do( $sql, undef, 'intranet_theme', 'template'); |
| 12 |
}, |
| 13 |
} |