mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-12-03 20:13:52 +08:00
#17816: Caching current theme name as a way to avoid up to 2 queries per request.
--HG-- branch : 1.x
This commit is contained in:
@@ -128,8 +128,7 @@ Features:
|
||||
Assert.Throws(typeof(InvalidOperationException), () => themeRecipeHandler.ExecuteRecipeStep(recipeContext));
|
||||
}
|
||||
|
||||
internal class StubSiteThemeService : ISiteThemeService
|
||||
{
|
||||
internal class StubSiteThemeService : ISiteThemeService {
|
||||
public ExtensionDescriptor GetSiteTheme() {
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
@@ -137,6 +136,10 @@ Features:
|
||||
public void SetSiteTheme(string themeName) {
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public string GetCurrentThemeName() {
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user