aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Server.Sqlite/SQLiteUserRepository.cs
diff options
context:
space:
mode:
authorLukePulverenti <luke.pulverenti@gmail.com>2013-02-21 15:26:35 -0500
committerLukePulverenti <luke.pulverenti@gmail.com>2013-02-21 15:26:55 -0500
commitab1065a567151fd45fcf4698cd7d18708b94e35f (patch)
tree1863297fbd2966ceea85bc2a6c1991c5bab2c589 /MediaBrowser.Server.Sqlite/SQLiteUserRepository.cs
parent4019b9260bc1bcf23adb856cbd2b9857575fd08f (diff)
removed static logger
Diffstat (limited to 'MediaBrowser.Server.Sqlite/SQLiteUserRepository.cs')
-rw-r--r--MediaBrowser.Server.Sqlite/SQLiteUserRepository.cs11
1 files changed, 11 insertions, 0 deletions
diff --git a/MediaBrowser.Server.Sqlite/SQLiteUserRepository.cs b/MediaBrowser.Server.Sqlite/SQLiteUserRepository.cs
index f300f5177..8788a488f 100644
--- a/MediaBrowser.Server.Sqlite/SQLiteUserRepository.cs
+++ b/MediaBrowser.Server.Sqlite/SQLiteUserRepository.cs
@@ -9,6 +9,7 @@ using System.Data;
using System.IO;
using System.Threading;
using System.Threading.Tasks;
+using MediaBrowser.Model.Logging;
namespace MediaBrowser.Server.Sqlite
{
@@ -36,6 +37,16 @@ namespace MediaBrowser.Server.Sqlite
}
/// <summary>
+ /// Initializes a new instance of the <see cref="SQLiteUserDataRepository" /> class.
+ /// </summary>
+ /// <param name="logger">The logger.</param>
+ [ImportingConstructor]
+ protected SQLiteUserRepository([Import("logger")] ILogger logger)
+ : base(logger)
+ {
+ }
+
+ /// <summary>
/// Opens the connection to the database
/// </summary>
/// <returns>Task.</returns>