Merge "Don't calculate amount of inbetween revisions for MCR undo"
This commit is contained in:
commit
570c19f1f5
1 changed files with 1 additions and 0 deletions
|
|
@ -1530,6 +1530,7 @@ class DifferenceEngine extends ContextSource {
|
|||
!$this->mOldRev || !$this->mNewRev
|
||||
|| !$this->mOldPage || !$this->mNewPage
|
||||
|| !$this->mOldPage->equals( $this->mNewPage )
|
||||
|| $this->mOldRev->getId() === null || $this->mNewRev->getId() === null
|
||||
) {
|
||||
return '';
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue