FeedUtils: Remove weird commented-out block
authorBartosz Dziewoński <matma.rex@gmail.com>
Sat, 25 Feb 2017 21:33:31 +0000 (22:33 +0100)
committerBartosz Dziewoński <matma.rex@gmail.com>
Sat, 25 Feb 2017 21:33:31 +0000 (22:33 +0100)
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

index 071a3db..e143a4c 100644 (file)
@@ -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 ) {