remove unused api properties

This commit is contained in:
LukePulverenti 2013-03-11 08:26:27 -04:00
parent 177d9cc172
commit f010d032ed
5 changed files with 5 additions and 14 deletions

View File

@ -161,8 +161,6 @@ namespace MediaBrowser.Controller.Library
/// <param name="fields">The fields.</param>
private void AttachUserSpecificInfo(BaseItemDto dto, BaseItem item, User user, List<ItemFields> fields)
{
dto.IsNew = item.IsRecentlyAdded(user);
if (fields.Contains(ItemFields.UserData))
{
var userData = item.GetUserData(user, false);

View File

@ -217,13 +217,6 @@ namespace MediaBrowser.Model.Dto
[ProtoMember(36)]
public UserItemDataDto UserData { get; set; }
/// <summary>
/// Gets or sets a value indicating whether this instance is new.
/// </summary>
/// <value><c>true</c> if this instance is new; otherwise, <c>false</c>.</value>
[ProtoMember(37)]
public bool IsNew { get; set; }
/// <summary>
/// Gets or sets the recently added item count.
/// </summary>

View File

@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
<metadata>
<id>MediaBrowser.Common.Internal</id>
<version>3.0.42</version>
<version>3.0.43</version>
<title>MediaBrowser.Common.Internal</title>
<authors>Luke</authors>
<owners>ebr,Luke,scottisafool</owners>
@ -12,7 +12,7 @@
<description>Contains common components shared by Media Browser Theatre and Media Browser Server. Not intended for plugin developer consumption.</description>
<copyright>Copyright © Media Browser 2013</copyright>
<dependencies>
<dependency id="MediaBrowser.Common" version="3.0.42" />
<dependency id="MediaBrowser.Common" version="3.0.43" />
<dependency id="NLog" version="2.0.0.2000" />
<dependency id="ServiceStack.Text" version="3.9.38" />
<dependency id="protobuf-net" version="2.0.0.621" />

View File

@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<id>MediaBrowser.Common</id>
<version>3.0.42</version>
<version>3.0.43</version>
<title>MediaBrowser.Common</title>
<authors>Media Browser Team</authors>
<owners>ebr,Luke,scottisafool</owners>

View File

@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<id>MediaBrowser.Server.Core</id>
<version>3.0.42</version>
<version>3.0.43</version>
<title>Media Browser.Server.Core</title>
<authors>Media Browser Team</authors>
<owners>ebr,Luke,scottisafool</owners>
@ -12,7 +12,7 @@
<description>Contains core components required to build plugins for Media Browser Server.</description>
<copyright>Copyright © Media Browser 2013</copyright>
<dependencies>
<dependency id="MediaBrowser.Common" version="3.0.42" />
<dependency id="MediaBrowser.Common" version="3.0.43" />
</dependencies>
</metadata>
<files>