From: Antoine Musso Date: Tue, 10 Jul 2012 15:19:07 +0000 (+0200) Subject: OutputPage::setRevisionTimestamp typo in parameter X-Git-Tag: 1.31.0-rc.0~23075 X-Git-Url: http://git.cyclocoop.org/fichier?a=commitdiff_plain;h=d245bb37a830e36d8c036cddea0bfe285ec96411;p=lhc%2Fweb%2Fwiklou.git OutputPage::setRevisionTimestamp typo in parameter 'stmap' instead of 'stamp'. I have updated: - doc block - function argument - inner use of the argument Change-Id: Ie7b663372632e4044464ae49ab42dce500838985 --- diff --git a/includes/OutputPage.php b/includes/OutputPage.php index d550cb6b13..ac90e6741b 100644 --- a/includes/OutputPage.php +++ b/includes/OutputPage.php @@ -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 ); } /**