12 Oct
2022
12 Oct
'22
4:43 a.m.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31042 --- Comment #5 from David Cook <dcook@prosentient.com.au> --- Over time, we'll find global variables and singletons like C4::Context are going to cause more and more headaches. Yet, we've deeply embedded C4::Context->preference throughout all our code... For example, Koha::Patron->store() is riddled with syspref calls. Over time, it would be an idea to switch from C4::Context->preference() to $c->syspref() and to pass preferences through function/method calls. (That would help support multitenancy and non-blocking programming in the future too.) -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.