aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.ServerApplication/IO/FileSystemFactory.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2013-10-30 19:15:58 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2013-10-30 19:15:58 -0400
commit579b507f7fa322fdf8a746b6e787015d0567e2a6 (patch)
tree2e5c0d4a76e65d2928f4da9f2a625bfef4844640 /MediaBrowser.ServerApplication/IO/FileSystemFactory.cs
parentd5baaa1f67975c21417ebaaa193e17192e1c3936 (diff)
use IFileSystem interface to get creation time
Diffstat (limited to 'MediaBrowser.ServerApplication/IO/FileSystemFactory.cs')
-rw-r--r--MediaBrowser.ServerApplication/IO/FileSystemFactory.cs5
1 files changed, 3 insertions, 2 deletions
diff --git a/MediaBrowser.ServerApplication/IO/FileSystemFactory.cs b/MediaBrowser.ServerApplication/IO/FileSystemFactory.cs
index 78a9338a4..ab7802e17 100644
--- a/MediaBrowser.ServerApplication/IO/FileSystemFactory.cs
+++ b/MediaBrowser.ServerApplication/IO/FileSystemFactory.cs
@@ -1,4 +1,5 @@
using MediaBrowser.Controller.IO;
+using MediaBrowser.Model.Logging;
namespace MediaBrowser.ServerApplication.IO
{
@@ -11,9 +12,9 @@ namespace MediaBrowser.ServerApplication.IO
/// Creates the file system manager.
/// </summary>
/// <returns>IFileSystem.</returns>
- public static IFileSystem CreateFileSystemManager()
+ public static IFileSystem CreateFileSystemManager(ILogManager logManager)
{
- return new NativeFileSystem();
+ return new NativeFileSystem(logManager.GetLogger("FileSystem"));
}
}
}