repo rework: Remove stubs; Breaks repo compat.

* These stubbs satisfied older Haiku releases that
  required the URL
* Users running nightly images will need to upgrade
  to hrev50723 - hrev50744 before upgrading further
* Getting this out of the way now before the beta
  comes out.
* New installations shouldn't suffer any problems.
This commit is contained in:
Alexander von Gluck IV
2016-12-07 21:27:56 -06:00
parent 7cfc043e00
commit 602076ef82
2 changed files with 0 additions and 10 deletions
-3
View File
@@ -55,9 +55,6 @@ public:
static const uint8 kDefaultPriority; static const uint8 kDefaultPriority;
// XXX: Kill me after everyone upgrades
static const char* const kURLField;
static const char* const kNameField; static const char* const kNameField;
static const char* const kVendorField; static const char* const kVendorField;
static const char* const kSummaryField; static const char* const kSummaryField;
-7
View File
@@ -35,9 +35,6 @@ const char* const BRepositoryInfo::kArchitectureField = "architecture";
const char* const BRepositoryInfo::kLicenseNameField = "licenseName"; const char* const BRepositoryInfo::kLicenseNameField = "licenseName";
const char* const BRepositoryInfo::kLicenseTextField = "licenseText"; const char* const BRepositoryInfo::kLicenseTextField = "licenseText";
// XXX: Kill me after everyone upgrades.
const char* const BRepositoryInfo::kURLField = "url";
BRepositoryInfo::BRepositoryInfo() BRepositoryInfo::BRepositoryInfo()
: :
@@ -85,10 +82,6 @@ BRepositoryInfo::Archive(BMessage* data, bool deep) const
if (result != B_OK) if (result != B_OK)
return result; return result;
// XXX: Kill me after everyone upgrades
if ((result = data->AddString(kURLField, "STUB")) != B_OK)
return result;
if ((result = data->AddString(kNameField, fName)) != B_OK) if ((result = data->AddString(kNameField, fName)) != B_OK)
return result; return result;
if ((result = data->AddString(kVendorField, fVendor)) != B_OK) if ((result = data->AddString(kVendorField, fVendor)) != B_OK)