1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-21 19:27:24 +08:00

Change log output to only output when matches are found (in line with other methods)

This commit is contained in:
Dean Herbert 2024-09-14 02:19:52 +09:00
parent a4f6d4a300
commit 562a5006ea
No known key found for this signature in database

View File

@ -481,11 +481,11 @@ namespace osu.Game.Database
.AsEnumerable()
.Select(b => b.ID)));
Logger.Log($"Found {beatmapSetIds.Count} beatmap sets with missing submission/rank date.");
if (beatmapSetIds.Count == 0)
return;
Logger.Log($"Found {beatmapSetIds.Count} beatmap sets with missing submission/rank date.");
var notification = showProgressNotification(beatmapSetIds.Count, "Populating missing submission and rank dates", "beatmap sets now have correct submission and rank dates.");
int processedCount = 0;