From: Sam Reed Date: Thu, 4 Aug 2011 23:26:53 +0000 (+0000) Subject: Followup r89564 X-Git-Tag: 1.31.0-rc.0~28423 X-Git-Url: http://git.cyclocoop.org/data/%24oldEdit?a=commitdiff_plain;h=f4cff4386866a3e66266bbe18a1f3dd0c82406a9;p=lhc%2Fweb%2Fwiklou.git Followup r89564 Switch from newFromTitle to the new newFromRow in r93935 --- diff --git a/includes/api/ApiFeedContributions.php b/includes/api/ApiFeedContributions.php index ef6feccfac..c1e6ff6e07 100644 --- a/includes/api/ApiFeedContributions.php +++ b/includes/api/ApiFeedContributions.php @@ -99,7 +99,7 @@ class ApiFeedContributions extends ApiBase { if( $title ) { $date = $row->rev_timestamp; $comments = $title->getTalkPage()->getFullURL(); - $revision = Revision::newFromTitle( $title, $row->rev_id ); + $revision = Revision::newFromRow( $row); return new FeedItem( $title->getPrefixedText(),