View | Details | Raw Unified | Return to bug 5687
Collapse All | Expand All

(-)a/installer/data/mysql/en/mandatory/sysprefs.sql (+1 lines)
Lines 285-287 INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES Link Here
285
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES ('ShelfBrowserUsesLocation','1','Use the item location when finding items for the shelf browser.','1','YesNo');
285
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES ('ShelfBrowserUsesLocation','1','Use the item location when finding items for the shelf browser.','1','YesNo');
286
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES ('ShelfBrowserUsesHomeBranch','1','Use the item home branch when finding items for the shelf browser.','1','YesNo');
286
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES ('ShelfBrowserUsesHomeBranch','1','Use the item home branch when finding items for the shelf browser.','1','YesNo');
287
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES ('ShelfBrowserUsesCcode','1','Use the item collection code when finding items for the shelf browser.','0','YesNo');
287
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES ('ShelfBrowserUsesCcode','1','Use the item collection code when finding items for the shelf browser.','0','YesNo');
288
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('StaffAuthorisedValueImages','1','',NULL,'YesNo');
(-)a/installer/data/mysql/updatedatabase.pl (-1 / +7 lines)
Lines 3987-3992 if (C4::Context->preference("Version") < TransformToNum($DBversion)) { Link Here
3987
    SetVersion ($DBversion);
3987
    SetVersion ($DBversion);
3988
}
3988
}
3989
3989
3990
$DBversion = '3.03.00.999';  #FIXME: Change this number!!
3991
if (C4::Context->preference("Version") < TransformToNum($DBversion)) {
3992
    $dbh->do("INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES('StaffAuthorisedValueImages', '1', '', NULL, 'YesNo')");
3993
    print "Upgrade to $DBversion done (System pref StaffAuthorisedValueImages)\n";
3994
    SetVersion ($DBversion);
3995
}
3996
3990
=head1 FUNCTIONS
3997
=head1 FUNCTIONS
3991
3998
3992
=head2 DropAllForeignKeys($table)
3999
=head2 DropAllForeignKeys($table)
3993
- 

Return to bug 5687