summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2013-10-27 20:11:51 -0700
committerJay Freeman (saurik) <saurik@saurik.com>2013-10-27 20:11:51 -0700
commit21b36e0d141fad54b8adf26b70ee0e3d9681f11e (patch)
tree96da250c1e6868eb9ec0c370b880d83e0c279445
parent9374f6b0cf35fa286a854f20eb376777e7480c3c (diff)
Remove the Sponsor field (it was obsolete in 2008).
-rw-r--r--MobileCydia.mm8
1 files changed, 0 insertions, 8 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm
index 2ac24f5..38f6db1 100644
--- a/MobileCydia.mm
+++ b/MobileCydia.mm
@@ -1846,8 +1846,6 @@ struct ParsedPackage {
CYString depiction_;
CYString homepage_;
-
- CYString sponsor_;
CYString author_;
CYString bugs_;
@@ -2161,7 +2159,6 @@ struct PackageNameOrdering :
@"simpleSection",
@"size",
@"source",
- @"sponsor",
@"state",
@"support",
@"tags",
@@ -2236,7 +2233,6 @@ struct PackageNameOrdering :
{"website", &website},
{"bugs", &parsed->bugs_},
{"support", &parsed->support_},
- {"sponsor", &parsed->sponsor_},
{"author", &parsed->author_},
{"md5sum", &parsed->md5sum_},
};
@@ -2732,10 +2728,6 @@ struct PackageNameOrdering :
return parsed_ != NULL && !parsed_->depiction_.empty() ? parsed_->depiction_ : [[self source] depictionForPackage:id_];
}
-- (MIMEAddress *) sponsor {
- return parsed_ == NULL || parsed_->sponsor_.empty() ? nil : [MIMEAddress addressWithString:parsed_->sponsor_];
-}
-
- (MIMEAddress *) author {
return parsed_ == NULL || parsed_->author_.empty() ? nil : [MIMEAddress addressWithString:parsed_->author_];
}