2
0
Bond_009 4 жил өмнө
parent
commit
787bcd4a83

+ 0 - 18
MediaBrowser.Controller/Entities/PeopleHelper.cs

@@ -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;
-        }
     }
     }
 }
 }