From ffb9a86cec63681ef5504d8448ae76e83672526e Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Wed, 2 Sep 2015 12:14:32 -0400 Subject: [PATCH] fixes #1142 --- MediaBrowser.Controller/Entities/BaseItem.cs | 8 -------- 1 file changed, 8 deletions(-) diff --git a/MediaBrowser.Controller/Entities/BaseItem.cs b/MediaBrowser.Controller/Entities/BaseItem.cs index 594b5ca93..570d56654 100644 --- a/MediaBrowser.Controller/Entities/BaseItem.cs +++ b/MediaBrowser.Controller/Entities/BaseItem.cs @@ -484,7 +484,6 @@ namespace MediaBrowser.Controller.Entities public Guid ParentId { get; set; } - private Folder _parent; /// /// Gets or sets the parent. /// @@ -494,11 +493,6 @@ namespace MediaBrowser.Controller.Entities { get { - if (_parent != null) - { - return _parent; - } - if (ParentId != Guid.Empty) { return LibraryManager.GetItemById(ParentId) as Folder; @@ -506,12 +500,10 @@ namespace MediaBrowser.Controller.Entities return null; } - set { _parent = value; } } public void SetParent(Folder parent) { - Parent = parent; ParentId = parent == null ? Guid.Empty : parent.Id; }