From 8af750165de94bbadb74b0d1bfdf96278f610938 Mon Sep 17 00:00:00 2001 From: miker Date: Tue, 15 Feb 2005 20:29:28 +0000 Subject: [PATCH] more logical shortcircuit for disableing remote method lookup git-svn-id: svn://svn.open-ils.org/ILS/trunk@58 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- OpenSRF/src/perlmods/OpenSRF/Application.pm | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/OpenSRF/src/perlmods/OpenSRF/Application.pm b/OpenSRF/src/perlmods/OpenSRF/Application.pm index 9c9c30a52b..fddf1dfd96 100644 --- a/OpenSRF/src/perlmods/OpenSRF/Application.pm +++ b/OpenSRF/src/perlmods/OpenSRF/Application.pm @@ -307,12 +307,7 @@ sub method_lookup { if (defined $meth) { $log->debug("Looks like we found [$method]!", DEBUG); $log->debug("Method object is ".Dumper($meth), INTERNAL); - } elsif (!$no_recurse) { - - # XXX Remvoe this to activate the magic! - return $meth; - # XXX Remvoe this to activate the magic! - + } elsif (0 and !$no_recurse) { retrieve_remote_apis(); $self->method_lookup($method,$proto,1); } -- 2.43.2