https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15562
Srdjan Jankovic <srd...@catalyst.net.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #50715|0 |1 is obsolete| | --- Comment #42 from Srdjan Jankovic <srd...@catalyst.net.nz> --- Created attachment 51939 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=51939&action=edit [SIGNED-OFF] bug_15562: Multi-host helper for plack installations Sort of an apocalypse * C4::Context->new() must be called with at least config file param. If you want current context, call C4::Context->current(). C4::Context->some_method() will still work as is. * Koha::Database->new_schema() now takes optional context param. * C4::Context->set_context() and restore_context() are synched with database set_schema() and restore_schema(). Created run_within_context() that wraps set_context() and restore_context() around code. * Created Koha::Handler::Plack* to facilitate running same code within different (database) contexts. * This initial version does not run with memcached turned on. Next patch will correct that. https://bugs.koha-community.org/show_bug.cgi?id=15562 Signed-off-by: Kyle M Hall <k...@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/