From 2b139e6c0f197a24382e9e5acab22f34b0c20146 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bartosz=20Dziewo=C5=84ski?= Date: Sat, 25 Feb 2017 22:33:31 +0100 Subject: [PATCH] FeedUtils: Remove weird commented-out block This has been added in 58f7bb30a04d6c1f137cc1659b8998c5349bf13e (r36376), already commented-out, and was moved and amended several times until it became completely out of place. Change-Id: I11b6e3e2fbb2d0a325a6723bf5874133a7f53851 --- includes/FeedUtils.php | 7 ------- 1 file changed, 7 deletions(-) diff --git a/includes/FeedUtils.php b/includes/FeedUtils.php index 071a3db98f..e143a4c614 100644 --- a/includes/FeedUtils.php +++ b/includes/FeedUtils.php @@ -129,13 +129,6 @@ class FeedUtils { } if ( $oldid ) { - - # $diffText = $de->getDiff( wfMessage( 'revisionasof', - # $wgLang->timeanddate( $timestamp ), - # $wgLang->date( $timestamp ), - # $wgLang->time( $timestamp ) )->text(), - # wfMessage( 'currentrev' )->text() ); - $diffText = ''; // Don't bother generating the diff if we won't be able to show it if ( $wgFeedDiffCutoff > 0 ) { -- 2.20.1