From: miker Date: Tue, 15 Feb 2005 20:29:28 +0000 (+0000) Subject: more logical shortcircuit for disableing remote method lookup X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=59e3f825d9f407ccab83d4b850a8421df0bc5990;p=working%2FOpenSRF.git more logical shortcircuit for disableing remote method lookup git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@57 9efc2488-bf62-4759-914b-345cdb29e865 --- 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); }