Bug 29071: Add HoldsQueueSplitNumbering syspref for any libraries that may not have it
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
e27d9deb56
commit
0f664db0ca
1 changed files with 17 additions and 0 deletions
17
installer/data/mysql/atomicupdate/bug_29071.pl
Executable file
17
installer/data/mysql/atomicupdate/bug_29071.pl
Executable file
|
@ -0,0 +1,17 @@
|
|||
use Modern::Perl;
|
||||
|
||||
return {
|
||||
bug_number => "29071",
|
||||
description => "Set HoldsQueueSplitNumbering where not set",
|
||||
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
|
||||
('HoldsSplitQueueNumbering', 'actual', 'actual|virtual', 'If the holds queue is split, decide if the actual priorities should be displayed', 'Choice')
|
||||
});
|
||||
# Print useful stuff here
|
||||
say $out "Added HoldsSplitQueueNumbering if not already there";
|
||||
},
|
||||
};
|
Loading…
Reference in a new issue