dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6e38e4d
)
nuke wfInvertTimestamp
author
Brion Vibber
<brion@users.mediawiki.org>
Fri, 25 Feb 2005 09:07:01 +0000
(09:07 +0000)
committer
Brion Vibber
<brion@users.mediawiki.org>
Fri, 25 Feb 2005 09:07:01 +0000
(09:07 +0000)
includes/GlobalFunctions.php
patch
|
blob
|
history
diff --git
a/includes/GlobalFunctions.php
b/includes/GlobalFunctions.php
index
a3d5086
..
f57b77d
100644
(file)
--- 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
*/