diff --git a/osu.Game/Database/ArchiveModelManager.cs b/osu.Game/Database/ArchiveModelManager.cs
index ad5bc6d420..00e1f03b92 100644
--- a/osu.Game/Database/ArchiveModelManager.cs
+++ b/osu.Game/Database/ArchiveModelManager.cs
@@ -315,7 +315,7 @@ namespace osu.Game.Database
///
/// In the case of no matching files, a hash will be generated from the passed archive's .
///
- protected virtual string ComputeHash(TModel item, ArchiveReader reader = null)
+ protected virtual string ComputeHash(TModel item)
{
var hashableFiles = item.Files
.Where(f => HashableFileTypes.Any(ext => f.Filename.EndsWith(ext, StringComparison.OrdinalIgnoreCase)))
@@ -397,7 +397,7 @@ namespace osu.Game.Database
LogForModel(item, @"Beginning import...");
item.Files = archive != null ? createFileInfos(archive, Files) : new List();
- item.Hash = ComputeHash(item, archive);
+ item.Hash = ComputeHash(item);
await Populate(item, archive, cancellationToken).ConfigureAwait(false);
diff --git a/osu.Game/Skinning/SkinManager.cs b/osu.Game/Skinning/SkinManager.cs
index 860d09e011..2187d2d875 100644
--- a/osu.Game/Skinning/SkinManager.cs
+++ b/osu.Game/Skinning/SkinManager.cs
@@ -155,7 +155,7 @@ namespace osu.Game.Skinning
protected override bool HasCustomHashFunction => true;
- protected override string ComputeHash(SkinInfo item, ArchiveReader reader = null)
+ protected override string ComputeHash(SkinInfo item)
{
var instance = GetSkin(item);
@@ -186,7 +186,7 @@ namespace osu.Game.Skinning
if (skinIniSourcedName != item.Name)
updateSkinIniMetadata(item);
- return base.ComputeHash(item, reader);
+ return base.ComputeHash(item);
}
private void updateSkinIniMetadata(SkinInfo item)
diff --git a/osu.Game/Tests/Visual/EditorTestScene.cs b/osu.Game/Tests/Visual/EditorTestScene.cs
index 798b0d01ee..4b02306d33 100644
--- a/osu.Game/Tests/Visual/EditorTestScene.cs
+++ b/osu.Game/Tests/Visual/EditorTestScene.cs
@@ -10,7 +10,6 @@ using osu.Framework.Platform;
using osu.Framework.Testing;
using osu.Game.Beatmaps;
using osu.Game.Database;
-using osu.Game.IO.Archives;
using osu.Game.Online.API;
using osu.Game.Rulesets;
using osu.Game.Rulesets.Edit;
@@ -154,7 +153,7 @@ namespace osu.Game.Tests.Visual
{
}
- protected override string ComputeHash(BeatmapSetInfo item, ArchiveReader reader = null)
+ protected override string ComputeHash(BeatmapSetInfo item)
=> string.Empty;
}