From 299aeacd7d337a1e57ca14660a151f5a9fd453e2 Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Wed, 14 May 2014 04:35:35 -0700 Subject: [PATCH] Remove obsolete commented-out source check stuff. --- MobileCydia.mm | 7 ------- 1 file changed, 7 deletions(-) diff --git a/MobileCydia.mm b/MobileCydia.mm index d2a1b76f..e0539fa0 100644 --- a/MobileCydia.mm +++ b/MobileCydia.mm @@ -8188,10 +8188,8 @@ static void HomeControllerReachabilityCallback(SCNetworkReachabilityRef reachabi _H hud_; _H error_; - //NSURLConnection *installer_; NSURLConnection *trivial_bz2_; NSURLConnection *trivial_gz_; - //NSURLConnection *automatic_; BOOL cydia_; } @@ -8212,10 +8210,8 @@ static void HomeControllerReachabilityCallback(SCNetworkReachabilityRef reachabi } - (void) dealloc { - //[self _releaseConnection:installer_]; [self _releaseConnection:trivial_gz_]; [self _releaseConnection:trivial_bz2_]; - //[self _releaseConnection:automatic_]; [super dealloc]; } @@ -8458,8 +8454,6 @@ static void HomeControllerReachabilityCallback(SCNetworkReachabilityRef reachabi case 1: { NSString *href = [[alert textField] text]; - //installer_ = [[self _requestHRef:href method:@"GET"] retain]; - if (![href hasSuffix:@"/"]) href_ = [href stringByAppendingString:@"/"]; else @@ -8467,7 +8461,6 @@ static void HomeControllerReachabilityCallback(SCNetworkReachabilityRef reachabi trivial_bz2_ = [[self _requestHRef:[href_ stringByAppendingString:@"Packages.bz2"] method:@"HEAD"] retain]; trivial_gz_ = [[self _requestHRef:[href_ stringByAppendingString:@"Packages.gz"] method:@"HEAD"] retain]; - //trivial_bz2_ = [[self _requestHRef:[href stringByAppendingString:@"dists/Release"] method:@"HEAD"] retain]; cydia_ = false; -- 2.45.2