Pass context when contructing DifferenceEngines

Change-Id: I926c910bf983ae023bfc0c20a9262a1bde452a17
This commit is contained in:
MatmaRex 2013-06-10 21:53:33 +02:00 committed by Hoo man
parent 3d4d705b06
commit 6756f6f936
2 changed files with 2 additions and 2 deletions

View file

@ -399,7 +399,7 @@ class AbuseFilterViewDiff extends AbuseFilterView {
$new = explode( "\n", preg_replace( "/\\\r\\\n?/", "\n", $new ) );
}
$diffEngine = new DifferenceEngine;
$diffEngine = new DifferenceEngine( $this->getContext() );
$diffEngine->showDiffStyle();

View file

@ -305,7 +305,7 @@ class SpecialAbuseLog extends SpecialPage {
$old_wikitext = $vars->getVar( 'old_wikitext' )->toString();
$new_wikitext = $vars->getVar( 'new_wikitext' )->toString();
$diffEngine = new DifferenceEngine;
$diffEngine = new DifferenceEngine( $this->getContext() );
$diffEngine->showDiffStyle();