Exemplo n.º 1
0
 protected override void Maintenance()
 {
     Context.ComponentId = GetComponentID(Context);
     AppConfig.LoadComponentSettings(Context);
     SetupScript Script = new MaintenanceScript(Context);
     Script.Actions.Add(new InstallAction(ActionTypes.UpdateEnterpriseServerUrl) { Description = "Updating site settings..." });
     Script.Run();
 }
Exemplo n.º 2
0
 protected override void Maintenance()
 {
     Context.ComponentId = GetComponentID(Context);
     AppConfig.LoadComponentSettings(Context);
     SetupScript Script = new MaintenanceScript(Context);
     Script.Actions.Add(new InstallAction(ActionTypes.UpdateServerAdminPassword) { Description = "Updating serveradmin password..." });
     Script.Run();
 }