From b7664a06817bfdc4481c6326802f91772c749b25 Mon Sep 17 00:00:00 2001 From: addshore Date: Thu, 28 Dec 2017 13:15:49 +0000 Subject: [PATCH] Remove duplicate getTitle call in RevisionStore::getNextRevision Change-Id: I5b7cd0e2a9ce413e582b4bdeeebc94a143896728 --- includes/Storage/RevisionStore.php | 1 - 1 file changed, 1 deletion(-) 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 ); -- 2.20.1