more logical shortcircuit for disableing remote method lookup
authormiker <miker@9efc2488-bf62-4759-914b-345cdb29e865>
Tue, 15 Feb 2005 20:29:28 +0000 (20:29 +0000)
committermiker <miker@9efc2488-bf62-4759-914b-345cdb29e865>
Tue, 15 Feb 2005 20:29:28 +0000 (20:29 +0000)
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@57 9efc2488-bf62-4759-914b-345cdb29e865

src/perlmods/OpenSRF/Application.pm

index 9c9c30a..fddf1df 100644 (file)
@@ -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);
        }