Bug 13340

Summary: Add a Koha::Config::SystemPreference class for handling sysprefs
Product: Koha Reporter: Tomás Cohen Arazi <tomascohen>
Component: Architecture, internals, and plumbingAssignee: Galen Charlton <gmcharlt>
Status: RESOLVED DUPLICATE QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low    
Version: master   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:

Description Tomás Cohen Arazi 2014-11-26 04:03:17 UTC
It needs to:
- be OO
- implement all CRUD operations (create, read, update, delete)
- conveniently log all relevant actions using C4::Log::logaction like this:
  logaction( 'SYSTEMPREFERENCE', 'ADD'...
  logaction( 'SYSTEMPREFERENCE', 'MODIFY'...
  logaction( 'SYSTEMPREFERENCE', 'DELETE'...
- correctly use Koha::Cache

All functions should have
- mocked unit tests
- integration tests, specially thinking of long-living processes (like in Plack).
Comment 1 Tomás Cohen Arazi 2015-07-08 17:27:43 UTC

*** This bug has been marked as a duplicate of bug 13967 ***