Fix typo in responseHandler

This commit is contained in:
yoye 2013-09-05 15:26:42 +02:00
parent 947267e935
commit 95cc29e56b

View File

@ -88,9 +88,6 @@ class RestClient{
elseif($httpResponeCode == 401){ elseif($httpResponeCode == 401){
throw new InvalidCredentials(EXCEPTION_INVALID_CREDENTIALS); throw new InvalidCredentials(EXCEPTION_INVALID_CREDENTIALS);
} }
elseif($httpResponeCode == 401){
throw new GenericHTTPError(EXCEPTION_INVALID_CREDENTIALS);
}
elseif($httpResponeCode == 404){ elseif($httpResponeCode == 404){
throw new MissingEndpoint(EXCEPTION_MISSING_ENDPOINT); throw new MissingEndpoint(EXCEPTION_MISSING_ENDPOINT);
} }