From 93cfca41e544529e1a360f645cd2be852d5444a4 Mon Sep 17 00:00:00 2001 From: Chad Horohoe Date: Wed, 7 Jul 2010 12:48:20 +0000 Subject: [PATCH] performInstallation() should halt when a fatal status is encountered --- includes/installer/Installer.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/includes/installer/Installer.php b/includes/installer/Installer.php index 7a84488cfe..5efdc0c5ab 100644 --- a/includes/installer/Installer.php +++ b/includes/installer/Installer.php @@ -884,6 +884,11 @@ abstract class Installer { } call_user_func_array( $endCB, array( $step, $status ) ); $installResults[$step] = $status; + + // If we've hit some sort of fatal, we need to bail. Callback + // already had a chance to do output above. + if( !$status->isOk() ) + break; } return $installResults; } -- 2.20.1