Get rid of the last (I think) php4-style calls to wfGetDB()
authorChad Horohoe <demon@users.mediawiki.org>
Sat, 13 Feb 2010 23:03:40 +0000 (23:03 +0000)
committerChad Horohoe <demon@users.mediawiki.org>
Sat, 13 Feb 2010 23:03:40 +0000 (23:03 +0000)
ConfirmEdit_body.php

index 8c0d78029426d17c9d4952da14096f077ce50131..00359271fe09fcc8633704e59972732e7abf142e 100644 (file)
@@ -450,7 +450,7 @@ class SimpleCaptcha {
         * Load external links from the externallinks table
         */
        function getLinksFromTracker( $title ) {
-               $dbr =& wfGetDB( DB_SLAVE );
+               $dbr = wfGetDB( DB_SLAVE );
                $id = $title->getArticleId(); // should be zero queries
                $res = $dbr->select( 'externallinks', array( 'el_to' ),
                        array( 'el_from' => $id ), __METHOD__ );