[Koha-bugs] [Bug 28411] Investigate memory footprint of the different dependencies
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Oct 27 23:26:37 CEST 2023
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28411
Blou <philippe.blouin at inlibro.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #157957|0 |1
is obsolete| |
--- Comment #7 from Blou <philippe.blouin at inlibro.com> ---
Created attachment 158004
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=158004&action=edit
Bug 28411: remove Koha::Config::Syspref(s) from C4::Context
Use straigth SQL queries to access systempreferences instead of relying
on the ORM, thus removing all direct and indirect dependencies to
Koha::Object
To remove all dependencies between C4::Context and the db object model,
we move the calls to set_preference and delete_prefence directly to the
class object Koha::Config::SysPrefs
C4::Context::preference remains but uses straight SQL
C4::Context::set_preference moves to Koha::Config::SysPrefs::set_preference
C4::Context::delete_preference moves to
Koha::Config::SysPrefs::delete_preference
--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
More information about the Koha-bugs
mailing list