From: Alexandre Emsenhuber Date: Sun, 22 Aug 2010 11:59:32 +0000 (+0000) Subject: Forgot to indent this correctly... X-Git-Tag: 1.31.0-rc.0~35384 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/comptes/ajouter.php?a=commitdiff_plain;h=e39825dbbe387c6266f1bb528149deb1c270216f;p=lhc%2Fweb%2Fwiklou.git Forgot to indent this correctly... --- 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" ); + } } }