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