mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-22 03:37:25 +08:00
Minor cleanup
This commit is contained in:
@@ -1,5 +1,4 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using Orchard.Commands;
|
using Orchard.Commands;
|
||||||
using Orchard.Data.Migration;
|
using Orchard.Data.Migration;
|
||||||
@@ -57,7 +56,7 @@ namespace Orchard.Themes.Commands {
|
|||||||
else {
|
else {
|
||||||
Context.Output.WriteLine(T("Current theme"));
|
Context.Output.WriteLine(T("Current theme"));
|
||||||
Context.Output.WriteLine(T("--------------------------"));
|
Context.Output.WriteLine(T("--------------------------"));
|
||||||
WriteThemeLines(new ThemeEntry() {
|
WriteThemeLines(new ThemeEntry {
|
||||||
Descriptor = currentTheme,
|
Descriptor = currentTheme,
|
||||||
NeedsUpdate = featuresThatNeedUpdate.Contains(currentTheme.Id),
|
NeedsUpdate = featuresThatNeedUpdate.Contains(currentTheme.Id),
|
||||||
Enabled = _shellDescriptor.Features.Any(sf => sf.Name == currentTheme.Id)
|
Enabled = _shellDescriptor.Features.Any(sf => sf.Name == currentTheme.Id)
|
||||||
|
Reference in New Issue
Block a user