From fa77ac6ef0e1d263e7f3148af1e9ceaa4faf0027 Mon Sep 17 00:00:00 2001 From: Chad Horohoe Date: Fri, 9 Jul 2010 20:53:52 +0000 Subject: [PATCH] Reduce some duplication --- includes/installer/WebInstaller.php | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/includes/installer/WebInstaller.php b/includes/installer/WebInstaller.php index 0d3e88ab50..96d4842736 100644 --- a/includes/installer/WebInstaller.php +++ b/includes/installer/WebInstaller.php @@ -1584,8 +1584,6 @@ class WebInstaller_Install extends WebInstallerPage { $status = new Status(); $status->warning( 'config-install-alreadydone' ); $this->parent->showStatusBox( $status ); - $this->endForm(); - return true; } else { $this->startForm(); $this->addHTML(""); - $this->endForm(); - return true; } - + $this->endForm(); + return true; } public function startStage( $step ) { -- 2.20.1