Fix for r89114: handle other DBMSes
authorAaron Schulz <aaron@users.mediawiki.org>
Sun, 29 May 2011 19:18:53 +0000 (19:18 +0000)
committerAaron Schulz <aaron@users.mediawiki.org>
Sun, 29 May 2011 19:18:53 +0000 (19:18 +0000)
includes/LogEventsList.php

index 3960b05..dda5b47 100644 (file)
@@ -505,7 +505,7 @@ class LogEventsList {
                                # 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 = '';