From: Sam Reed Date: Sat, 17 Mar 2012 22:26:26 +0000 (+0000) Subject: Followup r114067 rename to formatDuration to match other methods X-Git-Tag: 1.31.0-rc.0~24219 X-Git-Url: http://git.cyclocoop.org/%22%2C%20generer_url_ecrire%28?a=commitdiff_plain;h=d6389e76c8f0465cacd2dbf461d288965339ed88;p=lhc%2Fweb%2Fwiklou.git Followup r114067 rename to formatDuration to match other methods --- diff --git a/languages/Language.php b/languages/Language.php index 492c853185..10fa4f64fe 100644 --- a/languages/Language.php +++ b/languages/Language.php @@ -1919,7 +1919,7 @@ class Language { * * @return string */ - public function duration( $seconds, array $chosenIntervals = array( 'millennia', 'centuries', 'decades', 'years', 'days', 'hours', 'minutes', 'seconds' ) ) { + public function formatDuration( $seconds, array $chosenIntervals = array( 'millennia', 'centuries', 'decades', 'years', 'days', 'hours', 'minutes', 'seconds' ) ) { $intervals = array( 'millennia' => 1000 * 31557600, 'centuries' => 100 * 31557600,