Index: trunk/phase3/includes/installer/DatabaseUpdater.php |
— | — | @@ -230,14 +230,14 @@ |
231 | 231 | * @param $fullpath Boolean Whether to treat $patch path as a relative or not |
232 | 232 | */ |
233 | 233 | function dropField( $table, $field, $patch, $fullpath = false ) { |
234 | | - if ( $this->db->fieldExists( $table, $field ) ) { |
235 | | - wfOut( "Table $table contains $field field. Dropping... " ); |
236 | | - $this->applyPatch( $patch, $fullpath ); |
237 | | - wfOut( "ok\n" ); |
238 | | - } else { |
239 | | - wfOut( "...$table table does not contain $field field.\n" ); |
| 234 | + if ( $this->db->fieldExists( $table, $field ) ) { |
| 235 | + wfOut( "Table $table contains $field field. Dropping... " ); |
| 236 | + $this->applyPatch( $patch, $fullpath ); |
| 237 | + wfOut( "ok\n" ); |
| 238 | + } else { |
| 239 | + wfOut( "...$table table does not contain $field field.\n" ); |
| 240 | + } |
240 | 241 | } |
241 | | - } |
242 | 242 | } |
243 | 243 | |
244 | 244 | class OracleUpdater extends DatabaseUpdater { |