diff options
Diffstat (limited to 'MediaBrowser.Controller/IO/FileSystem.cs')
| -rw-r--r-- | MediaBrowser.Controller/IO/FileSystem.cs | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/MediaBrowser.Controller/IO/FileSystem.cs b/MediaBrowser.Controller/IO/FileSystem.cs index f31fc53de..b08e8da27 100644 --- a/MediaBrowser.Controller/IO/FileSystem.cs +++ b/MediaBrowser.Controller/IO/FileSystem.cs @@ -31,27 +31,6 @@ namespace MediaBrowser.Controller.IO } /// <summary> - /// Gets the creation time UTC. - /// </summary> - /// <param name="info">The info.</param> - /// <param name="logger">The logger.</param> - /// <returns>DateTime.</returns> - public static DateTime GetCreationTimeUtc(FileSystemInfo info, ILogger logger) - { - // This could throw an error on some file systems that have dates out of range - - try - { - return info.CreationTimeUtc; - } - catch (Exception ex) - { - logger.ErrorException("Error determining CreationTimeUtc for {0}", ex, info.FullName); - return DateTime.MinValue; - } - } - - /// <summary> /// Copies all. /// </summary> /// <param name="source">The source.</param> |
