diff --git a/.gitignore b/.gitignore
index b68cb2bdf3..f1b81038b8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -228,3 +228,4 @@ pip-log.txt
#Mr Developer
.mr.developer.cfg
+MediaBrowser.WebDashboard/dashboard-ui/.idea/
diff --git a/MediaBrowser.Api/EnvironmentService.cs b/MediaBrowser.Api/EnvironmentService.cs
index 5ba2586e36..47af5d43d7 100644
--- a/MediaBrowser.Api/EnvironmentService.cs
+++ b/MediaBrowser.Api/EnvironmentService.cs
@@ -45,12 +45,6 @@ namespace MediaBrowser.Api
/// true if [include hidden]; otherwise, false.
[ApiMember(Name = "IncludeHidden", Description = "An optional filter to include or exclude hidden files and folders. true/false", IsRequired = false, DataType = "boolean", ParameterType = "query", Verb = "GET")]
public bool IncludeHidden { get; set; }
-
- public GetDirectoryContents()
- {
- IncludeDirectories = true;
- IncludeFiles = true;
- }
}
///