]> git.saurik.com Git - cydia.git/commitdiff
Remove the X-Role header that no one is using.
authorJay Freeman (saurik) <saurik@saurik.com>
Fri, 25 Feb 2011 19:38:07 +0000 (11:38 -0800)
committerJay Freeman (saurik) <saurik@saurik.com>
Mon, 7 Mar 2011 10:41:19 +0000 (02:41 -0800)
MobileCydia.mm

index 9e80598331d9326949b9524d86ca8a32ed15746d..5703db40ee9f335a48ec5589b0b17dc3ea230c26 100644 (file)
@@ -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];
 }