diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2013-12-05 22:39:44 -0500 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2013-12-05 22:39:44 -0500 |
| commit | 5f0d8000a5ec26fd66c5f188f3bb517bb139b74b (patch) | |
| tree | 769514a446fc33ba812d1a9a05a66f0845c9e590 /MediaBrowser.Server.Implementations/Persistence/SqliteUserDataRepository.cs | |
| parent | ebe483db9a5d31528a644200a71f2b36ac2864bd (diff) | |
moved media streams to the database
Diffstat (limited to 'MediaBrowser.Server.Implementations/Persistence/SqliteUserDataRepository.cs')
| -rw-r--r-- | MediaBrowser.Server.Implementations/Persistence/SqliteUserDataRepository.cs | 18 |
1 files changed, 4 insertions, 14 deletions
diff --git a/MediaBrowser.Server.Implementations/Persistence/SqliteUserDataRepository.cs b/MediaBrowser.Server.Implementations/Persistence/SqliteUserDataRepository.cs index a9d5d8746..c174eb08e 100644 --- a/MediaBrowser.Server.Implementations/Persistence/SqliteUserDataRepository.cs +++ b/MediaBrowser.Server.Implementations/Persistence/SqliteUserDataRepository.cs @@ -31,36 +31,26 @@ namespace MediaBrowser.Server.Implementations.Persistence } } - private readonly IJsonSerializer _jsonSerializer; - /// <summary> /// The _app paths /// </summary> private readonly IApplicationPaths _appPaths; /// <summary> - /// Initializes a new instance of the <see cref="SqliteUserDataRepository"/> class. + /// Initializes a new instance of the <see cref="SqliteUserDataRepository" /> class. /// </summary> /// <param name="appPaths">The app paths.</param> - /// <param name="jsonSerializer">The json serializer.</param> /// <param name="logManager">The log manager.</param> - /// <exception cref="System.ArgumentNullException"> - /// jsonSerializer + /// <exception cref="System.ArgumentNullException">jsonSerializer /// or - /// appPaths - /// </exception> - public SqliteUserDataRepository(IApplicationPaths appPaths, IJsonSerializer jsonSerializer, ILogManager logManager) + /// appPaths</exception> + public SqliteUserDataRepository(IApplicationPaths appPaths, ILogManager logManager) { - if (jsonSerializer == null) - { - throw new ArgumentNullException("jsonSerializer"); - } if (appPaths == null) { throw new ArgumentNullException("appPaths"); } - _jsonSerializer = jsonSerializer; _appPaths = appPaths; _logger = logManager.GetLogger(GetType().Name); } |
