From 95257ce9977bfa63f687d53e1292e8f1ad978a32 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Fri, 25 Feb 2005 09:07:01 +0000 Subject: [PATCH] nuke wfInvertTimestamp --- includes/GlobalFunctions.php | 13 ------------- 1 file changed, 13 deletions(-) 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 */ -- 2.20.1