From 8ff0ef799f25a7aa011ae0434495ba2e36f9fef4 Mon Sep 17 00:00:00 2001 From: Roan Kattouw Date: Mon, 14 Nov 2011 09:16:30 +0000 Subject: [PATCH] Fix for r102949: don't delete too much --- maintenance/fixExtLinksProtocolRelative.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/maintenance/fixExtLinksProtocolRelative.php b/maintenance/fixExtLinksProtocolRelative.php index e10b194cc2..1a7025ad10 100644 --- a/maintenance/fixExtLinksProtocolRelative.php +++ b/maintenance/fixExtLinksProtocolRelative.php @@ -70,7 +70,7 @@ class FixExtLinksProtocolRelative extends LoggedUpdateMaintenance { ) ), __METHOD__, array( 'IGNORE' ) ); - $db->delete( 'externallinks', array( 'el_index' => $row->el_index ), __METHOD__ ); + $db->delete( 'externallinks', array( 'el_index' => $row->el_index, 'el_from' => $row->el_from, 'el_to' => $row->el_to ), __METHOD__ ); } $this->output( "Done, $count rows updated.\n" ); return true; -- 2.20.1