From: addshore Date: Thu, 28 Dec 2017 13:15:49 +0000 (+0000) Subject: Remove duplicate getTitle call in RevisionStore::getNextRevision X-Git-Tag: 1.31.0-rc.0~1053^2~1 X-Git-Url: http://git.cyclocoop.org/%22.%20generer_url_ecrire%28%22sites_tous%22%2C%22%22%29.%20%22?a=commitdiff_plain;h=b7664a06817bfdc4481c6326802f91772c749b25;p=lhc%2Fweb%2Fwiklou.git Remove duplicate getTitle call in RevisionStore::getNextRevision Change-Id: I5b7cd0e2a9ce413e582b4bdeeebc94a143896728 --- diff --git a/includes/Storage/RevisionStore.php b/includes/Storage/RevisionStore.php index 2698f13056..e139fafcbf 100644 --- a/includes/Storage/RevisionStore.php +++ b/includes/Storage/RevisionStore.php @@ -1708,7 +1708,6 @@ class RevisionStore implements IDBAccessObject, RevisionFactory, RevisionLookup if ( $title === null ) { $title = $this->getTitle( $rev->getPageId(), $rev->getId() ); } - $title = $this->getTitle( $rev->getPageId(), $rev->getId() ); $next = $title->getNextRevisionID( $rev->getId() ); if ( $next ) { return $this->getRevisionByTitle( $title, $next );