Remove unused variable
authorMax Semenik <maxsem.wiki@gmail.com>
Fri, 6 Jun 2014 18:40:27 +0000 (11:40 -0700)
committerKrinkle <krinklemail@gmail.com>
Tue, 10 Jun 2014 00:40:47 +0000 (00:40 +0000)
Follows up Ie47649ef45f9eebdfe

Change-Id: I2c6f2a0b4a8f15056ad0b314da7f8086168b1863

includes/ChangeTags.php

index 7e19164..e14f6ba 100644 (file)
@@ -101,8 +101,6 @@ class ChangeTags {
                                'specified when adding a tag to a change!' );
                }
 
-               $dbr = wfGetDB( DB_SLAVE );
-
                // Might as well look for rcids and so on.
                if ( !$rc_id ) {
                        // Info might be out of date, somewhat fractionally, on slave.