Introducing broken changes in commits meant to fix broken changes is vaguely ironic.
[lhc/web/wiklou.git] / includes / SpecialUnusedimages.php
index 75d702c..35e9ca9 100644 (file)
@@ -1,13 +1,11 @@
 <?php
 /**
  *
- * @package MediaWiki
- * @subpackage SpecialPage
+ * @addtogroup SpecialPage
  */
 
 /**
- * @package MediaWiki
- * @subpackage SpecialPage
+ * @addtogroup SpecialPage
  */
 class UnusedimagesPage extends QueryPage {
 
@@ -22,7 +20,7 @@ class UnusedimagesPage extends QueryPage {
 
        function getSQL() {
                global $wgCountCategorizedImagesAsUsed;
-               $dbr =& wfGetDB( DB_SLAVE );
+               $dbr = wfGetDB( DB_SLAVE );
 
                if ( $wgCountCategorizedImagesAsUsed ) {
                        list( $page, $image, $imagelinks, $categorylinks ) = $dbr->tableNamesN( 'page', 'image', 'imagelinks', 'categorylinks' );