Ejemplo n.º 1
0
 public void Run(BonoboGitServerContext context, IAuthenticationProvider authenticationProvider, IHostingEnvironment hostingEnvironment)
 {
     if (AuthenticationSettings.MembershipService.ToLowerInvariant() == "activedirectory")
     {
         Pre600UpdateTo600.UpdateADBackend(hostingEnvironment);
     }
     else
     {
         RunWithContext(context, authenticationProvider);
     }
 }
 public void Run()
 {
     if (AuthenticationSettings.MembershipService.ToLowerInvariant() == "activedirectory")
     {
         Pre600UpdateTo600.UpdateADBackend();
     }
     else
     {
         UpdateDatabase();
     }
 }