aboutsummaryrefslogtreecommitdiffstats
path: root/includes/db
diff options
context:
space:
mode:
authorBartosz Dziewoński <dziewonski@fastmail.fm>2024-10-07 23:09:19 +0200
committerBartosz Dziewoński <dziewonski@fastmail.fm>2024-10-07 23:09:19 +0200
commit105cc0c07006525987f876444b2604079a33ce2c (patch)
tree181678e96759327831b7da0cd4b88455e2fd4953 /includes/db
parent26b6bf6017ae305ad529dddec4e429603befde8f (diff)
downloadmediawikicore-105cc0c07006525987f876444b2604079a33ce2c.tar.gz
mediawikicore-105cc0c07006525987f876444b2604079a33ce2c.zip
CloneDatabase: Remove debug logging
These wfDebug() calls produce extremely verbose logs when running PHPUnit tests. They've been annoying me for years. Change-Id: I48e1c71232b07f3f1b5613104c9322333dda9fb6
Diffstat (limited to 'includes/db')
-rw-r--r--includes/db/CloneDatabase.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/includes/db/CloneDatabase.php b/includes/db/CloneDatabase.php
index e56a09b94f30..9aad0ce2d863 100644
--- a/includes/db/CloneDatabase.php
+++ b/includes/db/CloneDatabase.php
@@ -100,12 +100,10 @@ class CloneDatabase {
. " is name of both the old and the new table." );
}
$this->db->dropTable( $tbl, __METHOD__ );
- wfDebug( __METHOD__ . " dropping {$newTableName}" );
// Dropping the oldTable because the prefix was changed
}
# Create new table
- wfDebug( __METHOD__ . " duplicating $oldTableName to $newTableName" );
$this->db->duplicateTableStructure(
$oldTableName, $newTableName, $this->useTemporaryTables, __METHOD__ );
}