Skip to content

Commit

Permalink
Removed NSLog statements from API
Browse files Browse the repository at this point in the history
  • Loading branch information
jeyben committed Apr 27, 2013
1 parent b05e4a7 commit 460041c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions IOSLinkedInAPI/LIALinkedInAuthorizationViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@ - (void)didReceiveMemoryWarning {
@implementation LIALinkedInAuthorizationViewController (UIWebViewDelegate)

- (BOOL)webView:(UIWebView *)webView shouldStartLoadWithRequest:(NSURLRequest *)request navigationType:(UIWebViewNavigationType)navigationType {
NSLog(@"About to load request: %@", [[request URL] absoluteString]);
NSString *url = [[request URL] absoluteString];
if ([url hasPrefix:self.application.redirectURL]) {
if ([url rangeOfString:@"error"].location != NSNotFound) {
Expand All @@ -102,7 +101,6 @@ - (BOOL)webView:(UIWebView *)webView shouldStartLoadWithRequest:(NSURLRequest *)
self.failureCallback(error);
}
} else {
NSLog(@"extracting the code from the URL %@", url);
//extract the code from the url
NSString *successPrefix = [NSString stringWithFormat:LINKEDIN_CODE_URL_PREFIX, self.application.redirectURL];
NSString *successSuffix = [NSString stringWithFormat:LINKEDIN_CODE_URL_SUFFIX, self.application.state];
Expand Down

0 comments on commit 460041c

Please sign in to comment.