fixing typos and a rename.

This commit is contained in:
Claus
2016-09-09 11:09:42 +02:00
parent e309afa1a0
commit 7499c9a19c
4 changed files with 4 additions and 9 deletions

View File

@@ -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()))
{

View File

@@ -270,7 +270,7 @@ namespace Umbraco.Core.Services
/// </summary>
/// <param name="filepath">The filesystem path to the script.</param>
/// <returns>The content of the script file.</returns>
Stream GetSriptFileContentStream(string filepath);
Stream GetScriptFileContentStream(string filepath);
/// <summary>
/// Sets the content of a script file.

View File

@@ -407,7 +407,7 @@ namespace Umbraco.Core.Services
/// </summary>
/// <param name="filepath">The filesystem path to the media.</param>
/// <returns>The content of the media.</returns>
Stream GetMediaFileContent(string filepath);
Stream GetMediaFileContentStream(string filepath);
/// <summary>
/// Sets the content of a media.

View File

@@ -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;