[Koha-bugs] [Bug 6000] Performance enhancements for C4::Context and C4::Languages

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jan 4 17:19:23 CET 2012


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6000

--- Comment #9 from Tomás Cohen Arazi <tomascohen at gmail.com> 2012-01-04 16:19:23 UTC ---
(In reply to comment #8)
> In reply to comment 7
> 
> With this code:
> 
> > my $oldsyspref = C4::Context->preference('SYSPREF');
> > C4::Context->set_preference('SYSPREF', 'newvalue');
> > my $newsyspref = C4::Context->preference('SYSPREF');
> 
> What is the value of $newsyspref, if C4::Context->preference is memoized ?

It's a good question for HDL.
I'd personally add a memcached->remove('SYSPREF') in the set_preference
routine.

-- 
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list