nuke wfInvertTimestamp
authorBrion Vibber <brion@users.mediawiki.org>
Fri, 25 Feb 2005 09:07:01 +0000 (09:07 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Fri, 25 Feb 2005 09:07:01 +0000 (09:07 +0000)
includes/GlobalFunctions.php

index a3d5086..f57b77d 100644 (file)
@@ -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
  */