mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-05-24 02:02:29 -04:00
Remove extra return statement
This commit is contained in:
parent
441301069e
commit
edbd4e0db6
@ -961,7 +961,6 @@ namespace Emby.Server.Implementations.Library
|
||||
var 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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user