X-Git-Url: http://git.cyclocoop.org/%24action?a=blobdiff_plain;f=includes%2Factions%2FRollbackAction.php;h=5aba0b52f17a8c92d8979610a343a5ffd2062178;hb=10e91851b2568267e5ccb7bbd0ab24ec4f2a195a;hp=0d9a9027277ca89a1859ea9a0acf70b902eb974c;hpb=697c683bd6fc6fecf79b123225d3d7ea370ec093;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/actions/RollbackAction.php b/includes/actions/RollbackAction.php index 0d9a902727..5aba0b52f1 100644 --- a/includes/actions/RollbackAction.php +++ b/includes/actions/RollbackAction.php @@ -109,7 +109,8 @@ class RollbackAction extends FormlessAction { $this->getOutput()->returnToMain( false, $this->getTitle() ); if ( !$request->getBool( 'hidediff', false ) && !$this->getUser()->getBoolOption( 'norollbackdiff', false ) ) { - $de = new DifferenceEngine( $this->getContext(), $current->getId(), $newId, false, true ); + $contentHandler = ContentHandler::getForTitle( $this->getTitle() ); + $de = $contentHandler->getDifferenceEngine( $this->getContext(), $current->getId(), $newId, false, true ); $de->showDiff( '', '' ); } }