remove useless type hint (fu r85004)
authorAntoine Musso <hashar@users.mediawiki.org>
Tue, 7 Jun 2011 19:58:10 +0000 (19:58 +0000)
committerAntoine Musso <hashar@users.mediawiki.org>
Tue, 7 Jun 2011 19:58:10 +0000 (19:58 +0000)
languages/Language.php

index 15c12b2..591bb39 100644 (file)
@@ -1202,7 +1202,7 @@ class Language {
        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