OutputPage::setRevisionTimestamp typo in parameter
authorAntoine Musso <hashar@free.fr>
Tue, 10 Jul 2012 15:19:07 +0000 (17:19 +0200)
committerGerrit Code Review <gerrit@wikimedia.org>
Tue, 10 Jul 2012 20:47:26 +0000 (20:47 +0000)
'stmap' instead of 'stamp'. I have updated:
- doc block
- function argument
- inner use of the argument

Change-Id: Ie7b663372632e4044464ae49ab42dce500838985

includes/OutputPage.php

index d550cb6..ac90e67 100644 (file)
@@ -1362,11 +1362,11 @@ class OutputPage extends ContextSource {
         * Set the timestamp of the revision which will be displayed. This is used
         * to avoid a extra DB call in Skin::lastModified().
         *
-        * @param $revid Mixed: string, or null
+        * @param $timestamp Mixed: string, or null
         * @return Mixed: previous value
         */
-       public function setRevisionTimestamp( $timestmap ) {
-               return wfSetVar( $this->mRevisionTimestamp, $timestmap );
+       public function setRevisionTimestamp( $timestamp) {
+               return wfSetVar( $this->mRevisionTimestamp, $timestamp );
        }
 
        /**