Remove LogWarning<T> from LoggerExtensions

This commit is contained in:
Nikolaj
2020-09-16 09:58:07 +02:00
parent dda6fb12a3
commit 488093add3
56 changed files with 105 additions and 155 deletions

View File

@@ -317,7 +317,7 @@ namespace Umbraco.Core.Persistence.Repositories.Implement
if (language != null) return language;
// this is an anomaly, the service/repo should ensure it cannot happen
Logger.LogWarning<LanguageRepository>("There is no default language. Fix this anomaly by editing the language table in database and setting one language as the default language.");
Logger.LogWarning("There is no default language. Fix this anomaly by editing the language table in database and setting one language as the default language.");
// still, don't kill the site, and return "something"