From 105cc0c07006525987f876444b2604079a33ce2c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartosz=20Dziewo=C5=84ski?= Date: Mon, 7 Oct 2024 23:09:19 +0200 Subject: 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 --- includes/db/CloneDatabase.php | 2 -- 1 file changed, 2 deletions(-) (limited to 'includes/db') 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__ ); } -- cgit v1.2.3