From 2b78de3f023660acec4fa20c8123768722c87b72 Mon Sep 17 00:00:00 2001 From: Alexandre Emsenhuber Date: Thu, 10 Nov 2011 13:06:52 +0000 Subject: Made DifferenceEngine use a context instead of global variables and updaters calls to constructor in core --- includes/actions/RollbackAction.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'includes/actions/RollbackAction.php') diff --git a/includes/actions/RollbackAction.php b/includes/actions/RollbackAction.php index 1cc64b368bf1..8379e2767855 100644 --- a/includes/actions/RollbackAction.php +++ b/includes/actions/RollbackAction.php @@ -109,7 +109,7 @@ class RollbackAction extends FormlessAction { $this->getOutput()->returnToMain( false, $this->getTitle() ); if ( !$request->getBool( 'hidediff', false ) && !$this->getUser()->getBoolOption( 'norollbackdiff', false ) ) { - $de = new DifferenceEngine( $this->getTitle(), $current->getId(), $newId, false, true ); + $de = new DifferenceEngine( $this->getContext(), $current->getId(), $newId, false, true ); $de->showDiff( '', '' ); } } -- cgit v1.2.3