Remove some redundant "starting from" message cruft (bug 3327)
authorAaron Schulz <aaron@users.mediawiki.org>
Mon, 6 Oct 2008 03:49:43 +0000 (03:49 +0000)
committerAaron Schulz <aaron@users.mediawiki.org>
Mon, 6 Oct 2008 03:49:43 +0000 (03:49 +0000)
includes/specials/SpecialRecentchanges.php

index 0fe1345..c6a0a47 100644 (file)
@@ -593,18 +593,6 @@ class SpecialRecentChanges extends SpecialPage {
 
                $options = $nondefaults + $defaults;
 
-               if( $options['from'] )
-                       $note = wfMsgExt( 'rcnotefrom', array( 'parseinline' ),
-                               $wgLang->formatNum( $options['limit'] ),
-                               $wgLang->timeanddate( $options['from'], true ) );
-               else
-                       $note = wfMsgExt( 'rcnote', array( 'parseinline' ),
-                               $wgLang->formatNum( $options['limit'] ),
-                               $wgLang->formatNum( $options['days'] ),
-                               $wgLang->timeAndDate( wfTimestampNow(), true ),
-                               $wgLang->date( wfTimestampNow(), true ),
-                               $wgLang->time( wfTimestampNow(), true ) );
-
                # Sort data for display and make sure it's unique after we've added user data.
                $wgRCLinkLimits[] = $options['limit'];
                $wgRCLinkDays[] = $options['days'];
@@ -659,6 +647,6 @@ class SpecialRecentChanges extends SpecialPage {
                $rclinks = wfMsgExt( 'rclinks', array( 'parseinline', 'replaceafter' ),
                        $cl, $dl, $hl );
                $rclistfrom = wfMsgExt( 'rclistfrom', array( 'parseinline', 'replaceafter' ), $tl );
-               return "$note<br />$rclinks<br />$rclistfrom";
+               return "$rclinks<br />$rclistfrom";
        }
 }