Martin Renvoize
85243da0b4
This patch adds a new 'UseIssueDesks' preference which defaults to "Don't use" to enabled/disable the 'Desks' functionality added with this bug. Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
11 lines
428 B
Perl
11 lines
428 B
Perl
$DBversion = 'XXX'; # will be replaced by the RM
|
|
if ( CheckVersion($DBversion) ) {
|
|
|
|
$dbh->do(qq{
|
|
INSERT IGNORE INTO systempreferences (variable,value,options,explanation,type) VALUES
|
|
('UseIssueDesks','0','','Use issue desks with circulation.','YesNo')
|
|
});
|
|
|
|
SetVersion($DBversion);
|
|
print "Upgrade to $DBversion done (Bug 13881 - Add cash register system preference)\n";
|
|
}
|