diff options
author | Bartosz Dziewoński <dziewonski@fastmail.fm> | 2024-10-07 23:09:19 +0200 |
---|---|---|
committer | Bartosz Dziewoński <dziewonski@fastmail.fm> | 2024-10-07 23:09:19 +0200 |
commit | 105cc0c07006525987f876444b2604079a33ce2c (patch) | |
tree | 181678e96759327831b7da0cd4b88455e2fd4953 /includes/db | |
parent | 26b6bf6017ae305ad529dddec4e429603befde8f (diff) | |
download | mediawikicore-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.php | 2 |
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__ ); } |