summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2011-03-14 08:03:38 -0700
committerJay Freeman (saurik) <saurik@saurik.com>2011-03-14 08:03:38 -0700
commit5a9a907d6942ea9ccc54edf193511256caa513cf (patch)
treed369731bf6acd958306c0d42115db853a52a2610
parent76380d62f2508e88f8ee0a4fd43ee7709b5beb4c (diff)
Remove stringByCachingURLWithCurrentCDN and cache.cydia.saurik.com.
-rw-r--r--MobileCydia.mm9
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]);