|
Line 0
Link Here
|
| 0 |
- |
1 |
use Modern::Perl; |
|
|
2 |
|
| 3 |
return { |
| 4 |
bug_number => "29071", |
| 5 |
description => "Set HoldsQueueSplitNumbering where not set", |
| 6 |
up => sub { |
| 7 |
my ($args) = @_; |
| 8 |
my ($dbh, $out) = @$args{qw(dbh out)}; |
| 9 |
# Do you stuffs here |
| 10 |
$dbh->do(q{ |
| 11 |
INSERT IGNORE INTO systempreferences ( `variable`, `value`, `options`, `explanation`, `type` ) VALUES |
| 12 |
('HoldsSplitQueueNumbering', 'actual', 'actual|virtual', 'If the holds queue is split, decide if the actual priorities should be displayed', 'Choice') |
| 13 |
}); |
| 14 |
# Print useful stuff here |
| 15 |
say $out "Added HoldsSplitQueueNumbering if not already there"; |
| 16 |
}, |
| 17 |
}; |