Explorar o código

Remove dead code

Bond_009 %!s(int64=4) %!d(string=hai) anos
pai
achega
787bcd4a83
Modificáronse 1 ficheiros con 0 adicións e 18 borrados
  1. 0 18
      MediaBrowser.Controller/Entities/PeopleHelper.cs

+ 0 - 18
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;
-        }
     }
 }