diff options
Added a PostInitialise method to IApplicationPlugin, this allows us to do work in there knowing that all other ApplicationPlugins have been initialised by that time.
Moved the loadRegions code in LoadRegionsPlugin to the PostInitialise method.
Diffstat (limited to 'OpenSim/Grid/UserServer')
-rw-r--r-- | OpenSim/Grid/UserServer/Main.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Grid/UserServer/Main.cs b/OpenSim/Grid/UserServer/Main.cs index dc38a3f..5a1dfd1 100644 --- a/OpenSim/Grid/UserServer/Main.cs +++ b/OpenSim/Grid/UserServer/Main.cs | |||
@@ -130,10 +130,10 @@ namespace OpenSim.Grid.UserServer | |||
130 | 130 | ||
131 | //Should be in modules? | 131 | //Should be in modules? |
132 | IInterServiceInventoryServices inventoryService = new OGS1InterServiceInventoryService(Cfg.InventoryUrl); | 132 | IInterServiceInventoryServices inventoryService = new OGS1InterServiceInventoryService(Cfg.InventoryUrl); |
133 | // IRegionProfileService regionProfileService = new RegionProfileServiceProxy(); | 133 | // IRegionProfileRouter regionProfileService = new RegionProfileServiceProxy(); |
134 | 134 | ||
135 | RegisterInterface<IInterServiceInventoryServices>(inventoryService); | 135 | RegisterInterface<IInterServiceInventoryServices>(inventoryService); |
136 | // RegisterInterface<IRegionProfileService>(regionProfileService); | 136 | // RegisterInterface<IRegionProfileRouter>(regionProfileService); |
137 | 137 | ||
138 | return inventoryService; | 138 | return inventoryService; |
139 | } | 139 | } |