From: Aaron Schulz Date: Mon, 6 Oct 2008 03:49:43 +0000 (+0000) Subject: Remove some redundant "starting from" message cruft (bug 3327) X-Git-Tag: 1.31.0-rc.0~44897 X-Git-Url: http://git.cyclocoop.org/%22.%24image2.%22?a=commitdiff_plain;h=a9cf11a3eb49e8b7392af0fc767d9aebb3c88d6d;p=lhc%2Fweb%2Fwiklou.git Remove some redundant "starting from" message cruft (bug 3327) --- diff --git a/includes/specials/SpecialRecentchanges.php b/includes/specials/SpecialRecentchanges.php index 0fe134580f..c6a0a4772f 100644 --- a/includes/specials/SpecialRecentchanges.php +++ b/includes/specials/SpecialRecentchanges.php @@ -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
$rclinks
$rclistfrom"; + return "$rclinks
$rclistfrom"; } }