From e39825dbbe387c6266f1bb528149deb1c270216f Mon Sep 17 00:00:00 2001 From: Alexandre Emsenhuber Date: Sun, 22 Aug 2010 11:59:32 +0000 Subject: [PATCH] Forgot to indent this correctly... --- includes/installer/DatabaseUpdater.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/includes/installer/DatabaseUpdater.php b/includes/installer/DatabaseUpdater.php index 4ceeaab2f7..dae896a029 100644 --- a/includes/installer/DatabaseUpdater.php +++ b/includes/installer/DatabaseUpdater.php @@ -230,13 +230,13 @@ abstract class DatabaseUpdater { * @param $fullpath Boolean Whether to treat $patch path as a relative or not */ function dropField( $table, $field, $patch, $fullpath = false ) { - if ( $this->db->fieldExists( $table, $field ) ) { - wfOut( "Table $table contains $field field. Dropping... " ); - $this->applyPatch( $patch, $fullpath ); - wfOut( "ok\n" ); - } else { - wfOut( "...$table table does not contain $field field.\n" ); - } + if ( $this->db->fieldExists( $table, $field ) ) { + wfOut( "Table $table contains $field field. Dropping... " ); + $this->applyPatch( $patch, $fullpath ); + wfOut( "ok\n" ); + } else { + wfOut( "...$table table does not contain $field field.\n" ); + } } } -- 2.20.1