Remove unused code in the Windows wizard

refs #11449
This commit is contained in:
Gunnar Beutner 2016-03-31 13:56:28 +02:00
parent 948c8f1342
commit dc09f5f706
2 changed files with 0 additions and 20 deletions

View File

@ -619,7 +619,6 @@
this.MaximizeBox = false;
this.Name = "SetupWizard";
this.Text = "Icinga 2 Setup Wizard";
this.Shown += new System.EventHandler(this.AgentWizard_Shown);
this.tabFinish.ResumeLayout(false);
this.tabFinish.PerformLayout();
this.tabConfigure.ResumeLayout(false);

View File

@ -276,25 +276,6 @@ namespace Icinga
tbcPages.SelectedTab = tabFinish;
}
private void AgentWizard_Shown(object sender, EventArgs e)
{
string installDir = Program.Icinga2InstallDir;
/* TODO: This is something the NSIS installer should do */
Directory.CreateDirectory(installDir + "\\etc\\icinga2\\pki");
Directory.CreateDirectory(installDir + "\\var\\cache\\icinga2");
Directory.CreateDirectory(installDir + "\\var\\lib\\icinga2\\pki");
Directory.CreateDirectory(installDir + "\\var\\lib\\icinga2\\agent\\inventory");
Directory.CreateDirectory(installDir + "\\var\\lib\\icinga2\\api\\config");
Directory.CreateDirectory(installDir + "\\var\\lib\\icinga2\\api\\log");
Directory.CreateDirectory(installDir + "\\var\\lib\\icinga2\\api\\zones");
Directory.CreateDirectory(installDir + "\\var\\log\\icinga2\\compat\\archive");
Directory.CreateDirectory(installDir + "\\var\\log\\icinga2\\crash");
Directory.CreateDirectory(installDir + "\\var\\run\\icinga2\\cmd");
Directory.CreateDirectory(installDir + "\\var\\spool\\icinga2\\perfdata");
Directory.CreateDirectory(installDir + "\\var\\spool\\icinga2\\tmp");
}
private void btnBack_Click(object sender, EventArgs e)
{
if (tbcPages.SelectedTab == tabError) {