X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FcleanupAncientTables.php;h=2dbf8bc1bb6c4672643434a2c6c53949ca3a73dc;hb=c3704788f97ad34911dea35c92cfe7d05cce6e0a;hp=428484b376b92f907819a2a8e72f631abed164da;hpb=8b1adbca0bb76353558e06d0178989a190202bbc;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/cleanupAncientTables.php b/maintenance/cleanupAncientTables.php index 428484b376..2dbf8bc1bb 100644 --- a/maintenance/cleanupAncientTables.php +++ b/maintenance/cleanupAncientTables.php @@ -83,7 +83,7 @@ class CleanupAncientTables extends Maintenance { if ( $db->indexExists( 'text', $index, __METHOD__ ) ) { $this->output( "Dropping index $index from the text table..." ); $db->query( "DROP INDEX " . $db->addIdentifierQuotes( $index ) - . " ON " . $db->tableName( 'text' ) ); + . " ON " . $db->tableName( 'text' ) ); $this->output( "done.\n" ); } } @@ -102,7 +102,7 @@ class CleanupAncientTables extends Maintenance { if ( $db->fieldExists( 'text', $field, __METHOD__ ) ) { $this->output( "Dropping the $field field from the text table..." ); $db->query( "ALTER TABLE " . $db->tableName( 'text' ) - . " DROP COLUMN " . $db->addIdentifierQuotes( $field ) ); + . " DROP COLUMN " . $db->addIdentifierQuotes( $field ) ); $this->output( "done.\n" ); } }