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: https://git.cyclocoop.org/%7B%7B%20url_for%28%27admin_user_edit%27%2C%20iduser=user.userid%29%20%7D%7D?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 );