Tweak comment
authorAaron Schulz <aaron@users.mediawiki.org>
Sun, 14 Dec 2008 00:13:16 +0000 (00:13 +0000)
committerAaron Schulz <aaron@users.mediawiki.org>
Sun, 14 Dec 2008 00:13:16 +0000 (00:13 +0000)
includes/specials/SpecialRecentchanges.php

index bbd2234..ba6e173 100644 (file)
@@ -170,14 +170,14 @@ class SpecialRecentChanges extends SpecialPage {
         * update the timestamp
         *
         * @param $feedFormat String
-        * @return int or false
+        * @return string or false
         */
        public function checkLastModified( $feedFormat ) {
                global $wgUseRCPatrol, $wgOut;
                $dbr = wfGetDB( DB_SLAVE );
                $lastmod = $dbr->selectField( 'recentchanges', 'MAX(rc_timestamp)', false, __FUNCTION__ );
                if( $feedFormat || !$wgUseRCPatrol ) {
-                       if( $lastmod && $wgOut->checkLastModified( $lastmod ) ){
+                       if( $lastmod && $wgOut->checkLastModified( $lastmod ) ) {
                                # Client cache fresh and headers sent, nothing more to do.
                                return false;
                        }