http://www.mediawiki.org/wiki/Special:Code/MediaWiki/89129

Revision: 89129
Author:   aaron
Date:     2011-05-29 19:18:53 +0000 (Sun, 29 May 2011)
Log Message:
-----------
Fix for r89114: handle other DBMSes

Modified Paths:
--------------
    trunk/phase3/includes/LogEventsList.php

Modified: trunk/phase3/includes/LogEventsList.php
===================================================================
--- trunk/phase3/includes/LogEventsList.php     2011-05-29 19:05:41 UTC (rev 
89128)
+++ trunk/phase3/includes/LogEventsList.php     2011-05-29 19:18:53 UTC (rev 
89129)
@@ -505,7 +505,7 @@
                                # Fall back to a blue contributions link
                                $revert = $this->skin->userToolLinks( 1, 
$title->getDBkey() );
                        }
-                       if( $row->log_timestamp < '20080129000000' ) {
+                       if( wfTimestamp( TS_MW, $row->log_timestamp ) < 
'20080129000000' ) {
                                # Suppress $comment from old entries (before 
2008-01-29),
                                # not needed and can contain incorrect links
                                $comment = '';


_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to