Merge remote-tracking branch 'kc/new/bug_6390' into kcmaster

This commit is contained in:
Chris Cormack 2011-10-18 09:45:39 +13:00
commit f2794f7934
1 changed files with 7 additions and 0 deletions

View File

@ -4516,6 +4516,13 @@ if (C4::Context->preference("Version") < TransformToNum($DBversion)) {
SetVersion($DBversion);
}
$DBversion = "3.05.00.XXX";
if (C4::Context->preference("Version") < TransformToNum($DBversion)) {
$dbh->do("INSERT INTO `systempreferences` (variable,value,options,explanation,type) VALUES ('AcqViewBaskets','user','user|branch|all','Define which baskets a user is allowed to view: his own only, any within his branch or all','Choice')");
print "Upgrade to $DBversion done (Add syspref AcqViewBaskets)\n";
SetVersion($DBversion);
}
=head1 FUNCTIONS