From: Brion Vibber Date: Fri, 25 Feb 2005 09:07:01 +0000 (+0000) Subject: nuke wfInvertTimestamp X-Git-Tag: 1.5.0alpha1~697 X-Git-Url: http://git.cyclocoop.org/%22.%24h.%22?a=commitdiff_plain;h=95257ce9977bfa63f687d53e1292e8f1ad978a32;p=lhc%2Fweb%2Fwiklou.git nuke wfInvertTimestamp --- diff --git a/includes/GlobalFunctions.php b/includes/GlobalFunctions.php index a3d5086df8..f57b77d5aa 100644 --- a/includes/GlobalFunctions.php +++ b/includes/GlobalFunctions.php @@ -960,19 +960,6 @@ function wfTimestampNow() { return wfTimestamp( TS_MW, time() ); } -/** - * Sorting hack for MySQL 3, which doesn't use index sorts for DESC - * No longer supported and nuked. - */ -function wfInvertTimestamp( $ts ) { - wfDebugDieBacktrace("Inverted timestamps should be nuked away from all code\n"); - return strtr( - $ts, - '0123456789', - '9876543210' - ); -} - /** * Reference-counted warning suppression */