Remove added comments (#17395 review)

This commit is contained in:
Paolo Antinori
2026-07-25 12:50:32 +02:00
parent 5d580abb08
commit 8b70582561
2 changed files with 0 additions and 15 deletions
@@ -2315,9 +2315,6 @@ namespace Emby.Server.Implementations.Library
{
var comparer = Comparers.FirstOrDefault(c => name == c.Type);
// User-dependent comparers (IUserBaseItemComparer) need a User. With no user
// (anonymous/API-key /Items requests), a user-dependent sort key is a caller contract
// violation — throw rather than silently falling back to a different key.
if (comparer is IUserBaseItemComparer)
{
if (user is null)