r77274 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r77273‎ | r77274 | r77275 >
Date:09:38, 25 November 2010
Author:ialex
Status:ok
Tags:
Comment:
Fix for r77231: correct variable name, was throwing fatal errors
Modified paths:
  • /trunk/phase3/includes/specials/SpecialUnusedimages.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/specials/SpecialUnusedimages.php
@@ -44,7 +44,7 @@
4545
4646 $dbr = wfGetDB( DB_SLAVE );
4747
48 - $epoch = $db->unixTimestamp( 'rev_timestamp' );
 48+ $epoch = $dbr->unixTimestamp( 'img_timestamp' );
4949
5050 if ( $wgCountCategorizedImagesAsUsed ) {
5151 list( $page, $image, $imagelinks, $categorylinks ) = $dbr->tableNamesN( 'page', 'image', 'imagelinks', 'categorylinks' );

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r77231Moved switches in Special:Unusedimages and Special:Ancientpages to extract a ...ialex15:40, 24 November 2010

Status & tagging log