if( $this->dropCurrentTables && !in_array( $this->db->getType(), array( 'postgres' ) ) ) {
$this->db->dropTable( $tbl, __METHOD__ );
- wfDebug( "Dropping {$this->newTablePrefix}{$oldTableName}\n", __METHOD__ );
+ wfDebug( __METHOD__." dropping {$this->newTablePrefix}{$oldTableName}\n", true);
//Dropping the oldTable because the prefix was changed
}
# Create new table
- wfDebug( "Duplicating $oldTableName to $newTableName\n", __METHOD__ );
+ wfDebug( __METHOD__." duplicating $oldTableName to $newTableName\n", true );
$this->db->duplicateTableStructure( $oldTableName, $newTableName, $this->useTemporaryTables );
}