aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/Data
diff options
context:
space:
mode:
authorLuke <luke.pulverenti@gmail.com>2017-04-18 16:12:23 -0400
committerGitHub <noreply@github.com>2017-04-18 16:12:23 -0400
commit8ca84af79245a77b361e64271e5933311c5914ea (patch)
tree14a1f76343e1e6821c29ecf946b646d6fa5f89b4 /Emby.Server.Implementations/Data
parentf0f3ca8c181b4144cbd21fb545d0629e92a9529b (diff)
parentb51beedd942e09b51d6300aedffebc0a47f5fd50 (diff)
Merge pull request #2585 from MediaBrowser/dev
Dev
Diffstat (limited to 'Emby.Server.Implementations/Data')
-rw-r--r--Emby.Server.Implementations/Data/SqliteItemRepository.cs18
1 files changed, 0 insertions, 18 deletions
diff --git a/Emby.Server.Implementations/Data/SqliteItemRepository.cs b/Emby.Server.Implementations/Data/SqliteItemRepository.cs
index c5ba6c892..51f91acf3 100644
--- a/Emby.Server.Implementations/Data/SqliteItemRepository.cs
+++ b/Emby.Server.Implementations/Data/SqliteItemRepository.cs
@@ -1990,24 +1990,6 @@ namespace Emby.Server.Implementations.Data
}
index++;
- if (string.IsNullOrWhiteSpace(item.Tagline))
- {
- var movie = item as Movie;
- if (movie != null && movie.Taglines.Count > 0)
- {
- movie.Tagline = movie.Taglines[0];
- }
- }
-
- if (type == typeof(Person) && item.ProductionLocations.Count == 0)
- {
- var person = (Person)item;
- if (!string.IsNullOrWhiteSpace(person.PlaceOfBirth))
- {
- item.ProductionLocations = new List<string> { person.PlaceOfBirth };
- }
- }
-
return item;
}