dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4de36ba
)
Remove duplicate getTitle call in RevisionStore::getNextRevision
author
addshore
<addshorewiki@gmail.com>
Thu, 28 Dec 2017 13:15:49 +0000
(13:15 +0000)
committer
addshore
<addshorewiki@gmail.com>
Thu, 28 Dec 2017 13:15:49 +0000
(13:15 +0000)
Change-Id: I5b7cd0e2a9ce413e582b4bdeeebc94a143896728
includes/Storage/RevisionStore.php
patch
|
blob
|
history
diff --git
a/includes/Storage/RevisionStore.php
b/includes/Storage/RevisionStore.php
index
2698f13
..
e139faf
100644
(file)
--- 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 );