mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
Remove dead code
This commit is contained in:
parent
4479713e04
commit
787bcd4a83
@ -100,23 +100,5 @@ namespace MediaBrowser.Controller.Entities
|
|||||||
existing.SetProviderId(id.Key, id.Value);
|
existing.SetProviderId(id.Key, id.Value);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public static bool ContainsPerson(List<PersonInfo> people, string name)
|
|
||||||
{
|
|
||||||
if (string.IsNullOrEmpty(name))
|
|
||||||
{
|
|
||||||
throw new ArgumentNullException(nameof(name));
|
|
||||||
}
|
|
||||||
|
|
||||||
foreach (var i in people)
|
|
||||||
{
|
|
||||||
if (string.Equals(i.Name, name, StringComparison.OrdinalIgnoreCase))
|
|
||||||
{
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user