From a9cf11a3eb49e8b7392af0fc767d9aebb3c88d6d Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Mon, 6 Oct 2008 03:49:43 +0000 Subject: [PATCH] Remove some redundant "starting from" message cruft (bug 3327) --- includes/specials/SpecialRecentchanges.php | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) 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"; } } -- 2.20.1