From 653ee32ed29bbdd4af5734148bb11b2e5b36e59c Mon Sep 17 00:00:00 2001 From: Tim Starling Date: Fri, 7 Sep 2012 15:13:38 +1000 Subject: [PATCH] Remove @deprecated from wfTimestamp() Adding abbreviated wrappers for lengthy function invocations is good practice, it improves code readability. If all we ever had was MWTimestamp, and we had a million instances of $timestamp = new MWTimestamp( $ts ); $mwTimestamp = $timestamp->getTimestamp( TS_MW ); I would introduce a global function or class static method wrapper to clean up those invocations. But I don't have to, because we already have the wrapper. Change-Id: I9149a7626676a0115a0a877f27d8b65e6e868de9 --- includes/GlobalFunctions.php | 1 - 1 file changed, 1 deletion(-) diff --git a/includes/GlobalFunctions.php b/includes/GlobalFunctions.php index 98bc65fc49..e600506e40 100644 --- a/includes/GlobalFunctions.php +++ b/includes/GlobalFunctions.php @@ -2404,7 +2404,6 @@ define( 'TS_ISO_8601_BASIC', 9 ); /** * Get a timestamp string in one of various formats * - * @deprecated * @param $outputtype Mixed: A timestamp in one of the supported formats, the * function will autodetect which format is supplied and act * accordingly. -- 2.20.1