LinksDeletionUpdate: Fix typos in column names
authorGlaisher <glaisher.wiki@gmail.com>
Wed, 8 Jun 2016 09:52:40 +0000 (14:52 +0500)
committerGlaisher <glaisher.wiki@gmail.com>
Wed, 8 Jun 2016 09:52:40 +0000 (14:52 +0500)
Bug: T137280
Change-Id: I78ee489f10e796d2b3fa39dcb4f65f0763860bf3

includes/deferred/LinksDeletionUpdate.php

index d294fd2..b8bd747 100644 (file)
@@ -110,13 +110,13 @@ class LinksDeletionUpdate extends SqlDataUpdate implements EnqueueableDataUpdate
                        );
                        $this->batchDeleteByPK(
                                'langlinks',
-                               [ 'il_from' => $id ],
-                               [ 'il_from', 'll_lang' ],
+                               [ 'll_from' => $id ],
+                               [ 'll_from', 'll_lang' ],
                                $batchSize
                        );
                        $this->batchDeleteByPK(
                                'iwlinks',
-                               [ 'il_from' => $id ],
+                               [ 'iwl_from' => $id ],
                                [ 'iwl_from', 'iwl_prefix', 'iwl_title' ],
                                $batchSize
                        );