From: Aaron Schulz Date: Mon, 19 Sep 2011 21:55:17 +0000 (+0000) Subject: Removed duplication in insertArticleLink X-Git-Tag: 1.31.0-rc.0~27544 X-Git-Url: http://git.cyclocoop.org/%22.%24info%5B?a=commitdiff_plain;h=bf224c75c09c8fcde555b5261406654da24818b5;p=lhc%2Fweb%2Fwiklou.git Removed duplication in insertArticleLink --- diff --git a/includes/ChangesList.php b/includes/ChangesList.php index 9967dcc406..16c0312130 100644 --- a/includes/ChangesList.php +++ b/includes/ChangesList.php @@ -304,21 +304,14 @@ class ChangesList extends ContextSource { $params['rcid'] = $rc->mAttribs['rc_id']; } + $articlelink = Linker::linkKnown( + $rc->getTitle(), + null, + array(), + $params + ); if( $this->isDeleted($rc,Revision::DELETED_TEXT) ) { - $articlelink = Linker::linkKnown( - $rc->getTitle(), - null, - array(), - $params - ); $articlelink = '' . $articlelink . ''; - } else { - $articlelink = ' '. Linker::linkKnown( - $rc->getTitle(), - null, - array(), - $params - ); } # Bolden pages watched by this user if( $watched ) {