From d6389e76c8f0465cacd2dbf461d288965339ed88 Mon Sep 17 00:00:00 2001 From: Sam Reed Date: Sat, 17 Mar 2012 22:26:26 +0000 Subject: [PATCH] Followup r114067 rename to formatDuration to match other methods --- languages/Language.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- 2.20.1