mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
#19080: Activating SweepGenerator when all modules have been able to activate
Work Item: 19080 --HG-- branch : 1.x
This commit is contained in:
@@ -48,11 +48,11 @@ namespace Orchard.Environment {
|
||||
_routePublisher.Publish(allRoutes);
|
||||
_modelBinderPublisher.Publish(_modelBinderProviders.SelectMany(provider => provider.GetModelBinders()));
|
||||
|
||||
_sweepGenerator.Activate();
|
||||
|
||||
using (var events = _eventsFactory()) {
|
||||
events.Value.Activated();
|
||||
}
|
||||
|
||||
_sweepGenerator.Activate();
|
||||
}
|
||||
|
||||
public void Terminate() {
|
||||
|
Reference in New Issue
Block a user