r50489 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r50488‎ | r50489 | r50490 >
Date:15:32, 11 May 2009
Author:ialex
Status:ok
Tags:
Comment:
__FUNCTION__ -> __METHOD__ in SpecialRecentchanges::checkLastModified()
Modified paths:
  • /trunk/phase3/includes/specials/SpecialRecentchanges.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/specials/SpecialRecentchanges.php
@@ -177,7 +177,7 @@
178178 public function checkLastModified( $feedFormat ) {
179179 global $wgUseRCPatrol, $wgOut;
180180 $dbr = wfGetDB( DB_SLAVE );
181 - $lastmod = $dbr->selectField( 'recentchanges', 'MAX(rc_timestamp)', false, __FUNCTION__ );
 181+ $lastmod = $dbr->selectField( 'recentchanges', 'MAX(rc_timestamp)', false, __METHOD__ );
182182 if( $feedFormat || !$wgUseRCPatrol ) {
183183 if( $lastmod && $wgOut->checkLastModified( $lastmod ) ) {
184184 # Client cache fresh and headers sent, nothing more to do.

Status & tagging log