https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28410
--- Comment #21 from Blou <philippe.blo...@inlibro.com> --- Did a quick check. There are .... a lot of them. One question: installer/data/mysql/updatedatabase.pl calls C4::Context->preference, which is now an object call behind the scene. I know updatedatabase is not the do-it-all anymore, but to ensure it still works for years to come shouldn't we replace those calls by a local, straight SQL call ? A few hundred calls to preference, and one to set_preference. THAT SAID, pragmatism tells me to look for another way: Modify preference() to use straight DB, and move all the calls to set_preference() and delete_preference() to Koha::Config::Sysprefs. I'll test that in Bug 28411. Won't prevent major overhaul later, but seems like a safe approach. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes. _______________________________________________ Koha-bugs mailing list Koha-bugs@lists.koha-community.org https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/