The Free Software Media System - Server Backend & API
Remove extra return statement
Bond_009edbd4e0db6ba
diff --git a/Emby.Server.Implementations/Library/LibraryManager.cs b/Emby.Server.Implementations/Library/LibraryManager.csindex cfa714f236..00282b71a5 100644--- a/Emby.Server.Implementations/Library/LibraryManager.cs+++ b/Emby.Server.Implementations/Library/LibraryManager.cs@@ -961,7 +961,6 @@ namespace Emby.Server.Implementations.Libraryvar path = getPathFn(name);var id = GetItemByNameId<T>(path);var item = GetItemById(id) as T;-if (item == null){item = new T@@ -974,8 +973,6 @@ namespace Emby.Server.Implementations.Library};CreateItem(item, null);-- return item;}return item;