From: Niklas Laxström Date: Tue, 2 Aug 2005 20:21:41 +0000 (+0000) Subject: more killing X-Git-Tag: 1.6.0~2074 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22sites_tous%22%29%20.%20%22?a=commitdiff_plain;h=58dcec1168a2438eba6b4f039eeffd88c11008a3;p=lhc%2Fweb%2Fwiklou.git more killing --- diff --git a/includes/Article.php b/includes/Article.php index 7242d741ba..6b562274ef 100644 --- a/includes/Article.php +++ b/includes/Article.php @@ -1709,7 +1709,7 @@ class Article { } # Fetch cur_text - $rev =& Revision::newFromTitle( $this->mTitle ); + $rev = Revision::newFromTitle( $this->mTitle ); # Fetch name(s) of contributors $rev_name = ''; diff --git a/includes/SpecialRecentchanges.php b/includes/SpecialRecentchanges.php index e31758f2b1..90746810bc 100644 --- a/includes/SpecialRecentchanges.php +++ b/includes/SpecialRecentchanges.php @@ -499,7 +499,7 @@ function rcFormatDiff( $row ) { $titleObj = Title::makeTitle( $row->rc_namespace, $row->rc_title ); $dbr =& wfGetDB( DB_SLAVE ); - $newrev =& Revision::newFromTitle( $titleObj, $row->rc_this_oldid ); + $newrev = Revision::newFromTitle( $titleObj, $row->rc_this_oldid ); if( $newrev ) { $newtext = $newrev->getText(); } else {