Permalink
Browse files

removed comments

  • Loading branch information...
1 parent 6ab00a8 commit 7716b6af0a17edc2bd1c78fba8a28d933b5a6c84 Mashape committed Feb 2, 2011
Showing with 0 additions and 3 deletions.
  1. +0 −3 mashape/methods/call/helpers/routeHelper.php
View
3 mashape/methods/call/helpers/routeHelper.php
@@ -48,14 +48,11 @@ function findRoute($requestUri, &$routeParameters, $serverKey) {
if (in_array($methodName, $excludedMethods)) {
continue;
}
-// echo "Method " . $methodName . "\n\n";
$route = $method->getRoute();
if (!empty($route)) {
$routeParts = Explode("/", substr($route, 1));
$backwardIndex = count($routeParts) - (count($requestUriParts) - $i);
if ($backwardIndex >= 0) {
-// echo "* RoutePart: " . $routeParts[$backwardIndex] . "\n";
-// echo "* RequestPart: " . $requestUriParts[$i] . "\n\n";
if ($routeParts[$backwardIndex] == $requestUriParts[$i]) {
if (!ArrayUtils::existKey($methodName, $likelyMethods)) {
$likelyMethods[$methodName] = array();

0 comments on commit 7716b6a

Please sign in to comment.