Bug 5795 Update the database as follow-up If sys pref
authorAmit Gupta <amit.gupta@osslabs.biz>
Tue, 22 May 2012 10:32:31 +0000 (16:02 +0530)
committerPaul Poulain <paul.poulain@biblibre.com>
Thu, 24 May 2012 16:06:01 +0000 (18:06 +0200)
commitb920b61799a916891aa555ca363bed8b3253e36b
tree01e32342d0240588a4713a4dd3b63d4c79d34a8b
parent2d5655cdd4a4d585991b206479f0ef1839310084
Bug 5795 Update the database as follow-up If sys pref

ReservesControlBranch has null then update the table to
insert a PatronLibrary as value

To Test:
1) Go to mysql use koha database
2) select * from systempreferences where variable = 'ReservesControlBranch'; Check if value set to ItemHomeLibrary.
+-----------------------+-----------------+-------------------------------+-------------------------------------------------+--------+
| variable              | value           | options                       | explanation                                     | type   |
+-----------------------+-----------------+-------------------------------+-------------------------------------------------+--------+
| ReservesControlBranch | PatronLibrary   | ItemHomeLibrary|PatronLibrary | Branch checked for members reservations rights. | Choice |
+-----------------------+-----------------+-------------------------------+-------------------------------------------------+--------+

Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
installer/data/mysql/updatedatabase.pl