diff --git a/osu.Game/Online/BeatmapDownloadTracker.cs b/osu.Game/Online/BeatmapDownloadTracker.cs index 969cb9af36..6df74efe9c 100644 --- a/osu.Game/Online/BeatmapDownloadTracker.cs +++ b/osu.Game/Online/BeatmapDownloadTracker.cs @@ -52,15 +52,6 @@ namespace osu.Game.Online } } - /// - /// Checks that a database model matches the one expected to be downloaded. - /// - /// - /// For online play, this could be used to check that the databased model matches the online beatmap. - /// - /// The model in database. - protected virtual bool VerifyDatabasedModel(BeatmapSetInfo databasedModel) => true; // TODO: do we still need this? - private void downloadBegan(ValueChangedEvent>> weakRequest) { if (weakRequest.NewValue.TryGetTarget(out var request)) @@ -134,12 +125,6 @@ namespace osu.Game.Online if (!checkEquality(item, TrackedItem)) return; - if (!VerifyDatabasedModel(item)) - { - UpdateState(DownloadState.NotDownloaded); - return; - } - UpdateState(DownloadState.LocallyAvailable); }); } diff --git a/osu.Game/Online/ScoreDownloadTracker.cs b/osu.Game/Online/ScoreDownloadTracker.cs index 47cbabbee8..7a714a7a0e 100644 --- a/osu.Game/Online/ScoreDownloadTracker.cs +++ b/osu.Game/Online/ScoreDownloadTracker.cs @@ -52,15 +52,6 @@ namespace osu.Game.Online } } - /// - /// Checks that a database model matches the one expected to be downloaded. - /// - /// - /// For online play, this could be used to check that the databased model matches the online beatmap. - /// - /// The model in database. - protected virtual bool VerifyDatabasedModel(ScoreInfo databasedModel) => true; // TODO: do we still need this? - private void downloadBegan(ValueChangedEvent>> weakRequest) { if (weakRequest.NewValue.TryGetTarget(out var request)) @@ -134,13 +125,7 @@ namespace osu.Game.Online if (!checkEquality(item, TrackedItem)) return; - if (!VerifyDatabasedModel(item)) - { - UpdateState(DownloadState.NotDownloaded); - return; - } - - UpdateState(DownloadState.LocallyAvailable); + UpdateState(DownloadState.NotDownloaded); }); } }