diff options
-rw-r--r-- | MobileCydia.mm | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm index 3668fc1..84029d5 100644 --- a/MobileCydia.mm +++ b/MobileCydia.mm @@ -404,7 +404,6 @@ NSUInteger DOMNodeList$countByEnumeratingWithState$objects$count$(DOMNodeList *s /* Cydia NSString Additions {{{ */ @interface NSString (Cydia) - (NSComparisonResult) compareByPath:(NSString *)other; -- (NSString *) stringByCachingURLWithCurrentCDN; - (NSString *) stringByAddingPercentEscapesIncludingReserved; @end @@ -440,13 +439,6 @@ NSUInteger DOMNodeList$countByEnumeratingWithState$objects$count$(DOMNodeList *s return result == NSOrderedSame ? value : result; } -- (NSString *) stringByCachingURLWithCurrentCDN { - return [self - stringByReplacingOccurrencesOfString:@"://cydia.saurik.com/" - withString:@"://cache.cydia.saurik.com/" - ]; -} - - (NSString *) stringByAddingPercentEscapesIncludingReserved { return [(id)CFURLCreateStringByAddingPercentEscapes( kCFAllocatorDefault, @@ -8273,7 +8265,6 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) { href = [href substringFromIndex:(colon.location + 3)]; href = [href stringByAddingPercentEscapes]; href = [CydiaURL(@"api/repotag/") stringByAppendingString:href]; - href = [href stringByCachingURLWithCurrentCDN]; NSURL *url([NSURL URLWithString:href]); |