AB4227 - Moved Persistence Repository implementations
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
namespace Umbraco.Core.Persistence.Repositories.Implement
|
||||
{
|
||||
internal static class LanguageRepositoryExtensions
|
||||
{
|
||||
public static bool IsDefault(this ILanguageRepository repo, string culture)
|
||||
{
|
||||
if (culture == null || culture == "*") return false;
|
||||
return repo.GetDefaultIsoCode().InvariantEquals(culture);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user