mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2026-02-09 09:16:41 +08:00
Fixed an issue with site reset.
This fixes an issue where currently enabled features are enabled too soon. Instead only core features should be enabled and then whatever is enabled via the recipe.
This commit is contained in:
@@ -168,7 +168,7 @@ namespace Orchard.ImportExport.Providers.ImportActions {
|
||||
DatabaseProvider = _shellSettings.DataProvider,
|
||||
DatabaseTablePrefix = _shellSettings.DataTablePrefix,
|
||||
SiteName = _orchardServices.WorkContext.CurrentSite.SiteName,
|
||||
EnabledFeatures = _featureManager.GetEnabledFeatures().Select(x => x.Id).ToArray()
|
||||
EnabledFeatures = Enumerable.Empty<string>()
|
||||
};
|
||||
|
||||
return _setupService.Setup(setupContext);
|
||||
|
||||
Reference in New Issue
Block a user