From 0e5525e3b1f20ae6431e88bb2e72ecc42324679a Mon Sep 17 00:00:00 2001 From: miker Date: Mon, 7 Mar 2005 23:10:46 +0000 Subject: [PATCH] preload the remote method lookup stuff (even though it is not used in Storage...) git-svn-id: svn://svn.open-ils.org/ILS/trunk@266 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/src/perlmods/OpenILS/Application/Storage.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Open-ILS/src/perlmods/OpenILS/Application/Storage.pm b/Open-ILS/src/perlmods/OpenILS/Application/Storage.pm index f8f66983d8..e002eab7a6 100644 --- a/Open-ILS/src/perlmods/OpenILS/Application/Storage.pm +++ b/Open-ILS/src/perlmods/OpenILS/Application/Storage.pm @@ -42,12 +42,13 @@ sub child_init { my $conf = OpenSRF::Utils::SettingsClient->new; + OpenSRF::Application->method_lookup('crappola'); + $log->debug('Running child_init for ' . __PACKAGE__ . '...', DEBUG); OpenILS::Application::Storage::CDBI->child_init( $conf->config_value( apps => 'open-ils.storage' => app_settings => databases => 'database') ); - if (OpenILS::Application::Storage::CDBI->db_Main()) { $log->debug("Success initializing driver!", DEBUG); -- 2.43.2