Bug 13967 - System preferences need a package
authorKyle M Hall <kyle@bywatersolutions.com>
Wed, 8 Apr 2015 10:38:34 +0000 (06:38 -0400)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Thu, 4 Jun 2015 13:39:11 +0000 (10:39 -0300)
commit6882949b1b3bd1284e3d2877244a64edee3883ca
tree44ea5b33680fa3f1ad431e0971baca0defb99e54
parent8e726e3ee1e519d138074a986c27a2c393e23701
Bug 13967 - System preferences need a package

System preferences should have a package based on Koha::Object to remove
the need for direct manipulation via SQL.

Test Plan:
1) Apply this patch
2) prove t/db_dependent/sysprefs.t

Signed-off-by: Chris Nighswonger <cnighswonger@foundations.edu>
Signed-off-by: Jonathan Druart <jonathan.druart@koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
C4/Context.pm
Koha/Config/SysPref.pm [new file with mode: 0644]
Koha/Config/SysPrefs.pm [new file with mode: 0644]
Koha/Objects.pm
t/db_dependent/sysprefs.t