diff --git a/src/Umbraco.Core/Services/FileService.cs b/src/Umbraco.Core/Services/FileService.cs
index 9e84ace072..583d26294a 100644
--- a/src/Umbraco.Core/Services/FileService.cs
+++ b/src/Umbraco.Core/Services/FileService.cs
@@ -590,7 +590,7 @@ namespace Umbraco.Core.Services
}
}
- public Stream GetSriptFileContentStream(string filepath)
+ public Stream GetScriptFileContentStream(string filepath)
{
using (var repository = RepositoryFactory.CreateScriptRepository(UowProvider.GetUnitOfWork()))
{
diff --git a/src/Umbraco.Core/Services/IFileService.cs b/src/Umbraco.Core/Services/IFileService.cs
index 4caf16603d..9521b47311 100644
--- a/src/Umbraco.Core/Services/IFileService.cs
+++ b/src/Umbraco.Core/Services/IFileService.cs
@@ -270,7 +270,7 @@ namespace Umbraco.Core.Services
///
/// The filesystem path to the script.
/// The content of the script file.
- Stream GetSriptFileContentStream(string filepath);
+ Stream GetScriptFileContentStream(string filepath);
///
/// Sets the content of a script file.
diff --git a/src/Umbraco.Core/Services/IMediaService.cs b/src/Umbraco.Core/Services/IMediaService.cs
index ae1e91a28d..1c07c86086 100644
--- a/src/Umbraco.Core/Services/IMediaService.cs
+++ b/src/Umbraco.Core/Services/IMediaService.cs
@@ -407,7 +407,7 @@ namespace Umbraco.Core.Services
///
/// The filesystem path to the media.
/// The content of the media.
- Stream GetMediaFileContent(string filepath);
+ Stream GetMediaFileContentStream(string filepath);
///
/// Sets the content of a media.
diff --git a/src/Umbraco.Core/Services/MediaService.cs b/src/Umbraco.Core/Services/MediaService.cs
index fc0a4821b7..8a86e59cc3 100644
--- a/src/Umbraco.Core/Services/MediaService.cs
+++ b/src/Umbraco.Core/Services/MediaService.cs
@@ -6,11 +6,8 @@ using System.IO;
using System.Linq;
using System.Text.RegularExpressions;
using System.Threading;
-using System.Xml.Linq;
-using Umbraco.Core.Auditing;
using Umbraco.Core.Configuration;
using Umbraco.Core.Events;
-using Umbraco.Core.IO;
using Umbraco.Core.Logging;
using Umbraco.Core.Media;
using Umbraco.Core.Models;
@@ -19,9 +16,7 @@ using Umbraco.Core.Persistence;
using Umbraco.Core.Persistence.DatabaseModelDefinitions;
using Umbraco.Core.Persistence.Querying;
using Umbraco.Core.Persistence.Repositories;
-using Umbraco.Core.Persistence.SqlSyntax;
using Umbraco.Core.Persistence.UnitOfWork;
-using Umbraco.Core.Publishing;
namespace Umbraco.Core.Services
{
@@ -1298,7 +1293,7 @@ namespace Umbraco.Core.Services
}
}
- public Stream GetMediaFileContent(string filepath)
+ public Stream GetMediaFileContentStream(string filepath)
{
if (MediaHelper.FileSystem.FileExists(filepath) == false)
return null;