summaryrefslogtreecommitdiff
path: root/MobileCydia.mm
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2011-02-25 11:38:07 -0800
committerJay Freeman (saurik) <saurik@saurik.com>2011-03-07 02:41:19 -0800
commitd8fed00dc738b0e7d7d3359f22765259814c6820 (patch)
tree95c7d3b2bd184e22bb60e3bece75e8345a163378 /MobileCydia.mm
parent61c10d56432e4cdcfea2138f8d7f7b022b6c6973 (diff)
Remove the X-Role header that no one is using.
Diffstat (limited to 'MobileCydia.mm')
-rw-r--r--MobileCydia.mm4
1 files changed, 0 insertions, 4 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm
index 9e80598..5703db4 100644
--- a/MobileCydia.mm
+++ b/MobileCydia.mm
@@ -4583,8 +4583,6 @@ static NSString *Warning_;
[copy setValue:[NSString stringWithUTF8String:Machine_] forHTTPHeaderField:@"X-Machine"];
if (Token_ != nil)
[copy setValue:Token_ forHTTPHeaderField:@"X-Cydia-Token"];
- if (Role_ != nil)
- [copy setValue:Role_ forHTTPHeaderField:@"X-Role"];
return copy;
}
@@ -8382,8 +8380,6 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) {
[request setValue:[NSString stringWithUTF8String:Machine_] forHTTPHeaderField:@"X-Machine"];
if (UniqueID_ != nil)
[request setValue:UniqueID_ forHTTPHeaderField:@"X-Unique-ID"];
- if (Role_ != nil)
- [request setValue:Role_ forHTTPHeaderField:@"X-Role"];
return [[[NSURLConnection alloc] initWithRequest:request delegate:self] autorelease];
}