aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/Entities/PeopleHelper.cs
diff options
context:
space:
mode:
authorBond-009 <bond.009@outlook.com>2021-05-05 19:22:01 +0200
committerGitHub <noreply@github.com>2021-05-05 19:22:01 +0200
commit95b1cf532b577aa744d5301af4eeb78d08da3ba8 (patch)
tree7b6b16295b106cecb37e853982b16f9b6dd3ce0d /MediaBrowser.Controller/Entities/PeopleHelper.cs
parenta6ee4632ce618e60909aa4310e33d60dcdfc1aec (diff)
parentbcb4010db615b7c732856629553cba4e7ccc3358 (diff)
Merge pull request #5985 from Bond-009/minor11
Diffstat (limited to 'MediaBrowser.Controller/Entities/PeopleHelper.cs')
-rw-r--r--MediaBrowser.Controller/Entities/PeopleHelper.cs18
1 files changed, 0 insertions, 18 deletions
diff --git a/MediaBrowser.Controller/Entities/PeopleHelper.cs b/MediaBrowser.Controller/Entities/PeopleHelper.cs
index 1f3758a73..687ce1ec8 100644
--- a/MediaBrowser.Controller/Entities/PeopleHelper.cs
+++ b/MediaBrowser.Controller/Entities/PeopleHelper.cs
@@ -100,23 +100,5 @@ namespace MediaBrowser.Controller.Entities
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;
- }
}
}