From 59e3f825d9f407ccab83d4b850a8421df0bc5990 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/OpenSRF/trunk@57 9efc2488-bf62-4759-914b-345cdb29e865 --- src/perlmods/OpenSRF/Application.pm | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/perlmods/OpenSRF/Application.pm b/src/perlmods/OpenSRF/Application.pm index 9c9c30a..fddf1df 100644 --- a/src/perlmods/OpenSRF/Application.pm +++ b/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.11.0