aboutsummaryrefslogtreecommitdiffstats
path: root/includes/actions/RollbackAction.php
diff options
context:
space:
mode:
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>2011-11-10 13:06:52 +0000
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>2011-11-10 13:06:52 +0000
commit2b78de3f023660acec4fa20c8123768722c87b72 (patch)
tree77a7e9cb172bc47cede82d22bef35f0207f06de8 /includes/actions/RollbackAction.php
parent6efba66c0478e8a7b3dc73e6b59a769ca939b8d8 (diff)
downloadmediawikicore-2b78de3f023660acec4fa20c8123768722c87b72.tar.gz
mediawikicore-2b78de3f023660acec4fa20c8123768722c87b72.zip
Made DifferenceEngine use a context instead of global variables and updaters calls to constructor in core
Notes
Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/102649
Diffstat (limited to 'includes/actions/RollbackAction.php')
-rw-r--r--includes/actions/RollbackAction.php2
1 files changed, 1 insertions, 1 deletions
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( '', '' );
}
}