Permalink
Browse files

new version

  • Loading branch information...
1 parent f9ce77c commit 04a173e8dea75b83a08ecfb36d31011ec12e3d1a @shatsar shatsar committed Aug 27, 2011
Showing with 1 addition and 6 deletions.
  1. +1 −6 mashape/methods/call/call.php
@@ -68,12 +68,7 @@ public function handle($instance, $serverKey, $parameters, $httpRequestMethod) {
$version = (isset($parameters[VERSION])) ? $parameters[VERSION] : null;
unset($parameters[VERSION]); // remove the version parameter
- //Validate Request
- if (self::validateRequest($serverKey, $token, $methodName, $language, $version)) {
- return doCall($method, $parameters, $instance, $serverKey);
- } else {
- throw new MashapeException(EXCEPTION_AUTH_INVALID, EXCEPTION_AUTH_INVALID_CODE);
- }
+ return doCall($method, $parameters, $instance, $serverKey);
}
private function findMethod(&$parameters, &$methodName, &$method, $serverKey, $httpRequestMethod) {

0 comments on commit 04a173e

Please sign in to comment.