r89680 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r89679‎ | r89680 | r89681 >
Date:19:58, 7 June 2011
Author:hashar
Status:ok
Tags:
Comment:
remove useless type hint (fu r85004)
Modified paths:
  • /trunk/phase3/languages/Language.php (modified) (history)

Diff [purge]

Index: trunk/phase3/languages/Language.php
@@ -1202,7 +1202,7 @@
12031203 private static function tsToIranian( $ts ) {
12041204 $gy = substr( $ts, 0, 4 ) -1600;
12051205 $gm = substr( $ts, 4, 2 ) -1;
1206 - $gd = (int)substr( $ts, 6, 2 ) -1;
 1206+ $gd = substr( $ts, 6, 2 ) -1;
12071207
12081208 # Days passed from the beginning (including leap years)
12091209 $gDayNo = 365 * $gy

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r85004Fixup some ambiguously defined variables...reedy12:04, 30 March 2011

Status & tagging log