Fixing comment (no Language::decodeExpiry).
authorRotem Liss <rotem@users.mediawiki.org>
Tue, 2 Aug 2011 11:47:36 +0000 (11:47 +0000)
committerRotem Liss <rotem@users.mediawiki.org>
Tue, 2 Aug 2011 11:47:36 +0000 (11:47 +0000)
includes/Block.php

index e5a17d9..105b19a 100644 (file)
@@ -892,7 +892,7 @@ class Block {
         * @param $expiry String: Database expiry format
         * @param $timestampType Int Requested timestamp format
         * @return String
-        * @deprecated since 1.18; use $wgLang->decodeExpiry() instead
+        * @deprecated since 1.18; use $wgLang->formatExpiry() instead
         */
        public static function decodeExpiry( $expiry, $timestampType = TS_MW ) {
                global $wgContLang;