correct wfDebug() calls added in r79272 & r79368
authorAntoine Musso <hashar@users.mediawiki.org>
Sun, 20 Mar 2011 11:39:44 +0000 (11:39 +0000)
committerAntoine Musso <hashar@users.mediawiki.org>
Sun, 20 Mar 2011 11:39:44 +0000 (11:39 +0000)
includes/db/CloneDatabase.php

index 5410d14..b3015f6 100644 (file)
@@ -99,12 +99,12 @@ class CloneDatabase {
                        
                        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 );
                        
                }