Skip to content
This repository
Browse code

removed comments

  • Loading branch information...
commit 7716b6af0a17edc2bd1c78fba8a28d933b5a6c84 1 parent 6ab00a8
Mashape authored

Showing 1 changed file with 0 additions and 3 deletions. Show diff stats Hide diff stats

  1. +0 3  mashape/methods/call/helpers/routeHelper.php
3  mashape/methods/call/helpers/routeHelper.php
@@ -48,14 +48,11 @@ function findRoute($requestUri, &$routeParameters, $serverKey) {
48 48 if (in_array($methodName, $excludedMethods)) {
49 49 continue;
50 50 }
51   -// echo "Method " . $methodName . "\n\n";
52 51 $route = $method->getRoute();
53 52 if (!empty($route)) {
54 53 $routeParts = Explode("/", substr($route, 1));
55 54 $backwardIndex = count($routeParts) - (count($requestUriParts) - $i);
56 55 if ($backwardIndex >= 0) {
57   -// echo "* RoutePart: " . $routeParts[$backwardIndex] . "\n";
58   -// echo "* RequestPart: " . $requestUriParts[$i] . "\n\n";
59 56 if ($routeParts[$backwardIndex] == $requestUriParts[$i]) {
60 57 if (!ArrayUtils::existKey($methodName, $likelyMethods)) {
61 58 $likelyMethods[$methodName] = array();

0 comments on commit 7716b6a

Please sign in to comment.
Something went wrong with that request. Please try again.