From 21b36e0d141fad54b8adf26b70ee0e3d9681f11e Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Sun, 27 Oct 2013 20:11:51 -0700 Subject: Remove the Sponsor field (it was obsolete in 2008). --- MobileCydia.mm | 8 -------- 1 file changed, 8 deletions(-) (limited to 'MobileCydia.mm') 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_]; } -- cgit v1.2.3