Remove @deprecated from wfTimestamp()
authorTim Starling <tstarling@wikimedia.org>
Fri, 7 Sep 2012 05:13:38 +0000 (15:13 +1000)
committerTim Starling <tstarling@wikimedia.org>
Fri, 7 Sep 2012 05:13:38 +0000 (15:13 +1000)
commit653ee32ed29bbdd4af5734148bb11b2e5b36e59c
tree883c70adc1f28f3016c3ebfde42ceeeb28bd3a16
parent415015bfcebd4471a1e2a7586386a36d145d82aa
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