http://www.mediawiki.org/wiki/Special:Code/MediaWiki/89680

Revision: 89680
Author:   hashar
Date:     2011-06-07 19:58:10 +0000 (Tue, 07 Jun 2011)
Log Message:
-----------
remove useless type hint (fu r85004)

Modified Paths:
--------------
    trunk/phase3/languages/Language.php

Modified: trunk/phase3/languages/Language.php
===================================================================
--- trunk/phase3/languages/Language.php 2011-06-07 19:24:38 UTC (rev 89679)
+++ trunk/phase3/languages/Language.php 2011-06-07 19:58:10 UTC (rev 89680)
@@ -1202,7 +1202,7 @@
        private static function tsToIranian( $ts ) {
                $gy = substr( $ts, 0, 4 ) -1600;
                $gm = substr( $ts, 4, 2 ) -1;
-               $gd = (int)substr( $ts, 6, 2 ) -1;
+               $gd = substr( $ts, 6, 2 ) -1;
 
                # Days passed from the beginning (including leap years)
                $gDayNo = 365 * $gy


_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to