aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/Entities/PeopleHelper.cs
diff options
context:
space:
mode:
authorBond_009 <bond.009@outlook.com>2021-05-05 14:45:08 +0200
committerBond_009 <bond.009@outlook.com>2021-05-05 14:45:08 +0200
commit787bcd4a83ea212e6ba4f93dcc4ce6788b950410 (patch)
tree8b7727f3c3adf95f77b549b1160d1c94fb35f49b /MediaBrowser.Controller/Entities/PeopleHelper.cs
parent4479713e047f0e51450ed343472d8c43ab57e00f (diff)
Remove dead code
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;
- }
}
}