From: Alexandre Emsenhuber Date: Sun, 9 Nov 2008 14:35:17 +0000 (+0000) Subject: Cleanup for r43315 (per aaron's comment): remove extra set of parenthesis X-Git-Tag: 1.31.0-rc.0~44393 X-Git-Url: http://git.cyclocoop.org/%24action?a=commitdiff_plain;h=7cf3346f2866b06fb3e55a7e3862027835cdccca;p=lhc%2Fweb%2Fwiklou.git Cleanup for r43315 (per aaron's comment): remove extra set of parenthesis --- diff --git a/includes/Article.php b/includes/Article.php index 23435ce92b..f64e9f413c 100644 --- a/includes/Article.php +++ b/includes/Article.php @@ -3434,7 +3434,7 @@ class Article { # Redirect autosummaries $ot = Title::newFromRedirect( $oldtext ); $rt = Title::newFromRedirect( $newtext ); - if( is_object( $rt ) && ( !is_object( $ot ) || ( !$rt->equals( $ot ) || $ot->getFragment() != $rt->getFragment() ) ) ) { + if( is_object( $rt ) && ( !is_object( $ot ) || !$rt->equals( $ot ) || $ot->getFragment() != $rt->getFragment() ) ) { return wfMsgForContent( 'autoredircomment', $rt->getFullText() ); }