mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Remove release methods from catalog.complete
They are unused (and were accidentally introduced in 0.9.4 with the sqlite branch). The only thing you're allowed to query for releases is the official catalog, since the complete catalog doesn't actually augment releases with anything. (If we later implement some sort of "local release", we should probably also introduce a new release-specific interface that can be backed either by sqlite or by sqlite-plus-local, analogous to catalog. There's no real reason that it should be the same interface as catalog.)
This commit is contained in:
@@ -200,20 +200,6 @@ _.extend(LayeredCatalog.prototype, {
|
||||
return this._returnFirst("getPackage", arguments, ACCEPT_NON_EMPTY);
|
||||
},
|
||||
|
||||
// Returns general (non-version-specific) information about a
|
||||
// release track, or null if there is no such release track.
|
||||
getReleaseTrack: function (name) {
|
||||
return this.otherCatalog.getReleaseTrack(name);
|
||||
},
|
||||
|
||||
getReleaseVersion: function (track, version) {
|
||||
return this.otherCatalog.getReleaseVersion(track, version);
|
||||
},
|
||||
|
||||
getSortedRecommendedReleaseVersions: function (track, laterThanOrderKey) {
|
||||
return this.otherCatalog.getSortedRecommendedReleaseVersions(track, laterThanOrderKey);
|
||||
},
|
||||
|
||||
getSortedVersions: function (name) {
|
||||
return this._returnFirst("getSortedVersions", arguments, ACCEPT_NON_EMPTY);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user