X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2Fspecials%2FSpecialDiff.php;h=9804e777b17f2a119a3d7d0a327b99325b9ef08b;hb=bc213a9d46cdaa2f7724b043378656804a791b59;hp=9f91a10c9ca1ed9b6126b284903107a775440969;hpb=412dee71ef6160ac35a3042bfab5cc3989090cb0;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/specials/SpecialDiff.php b/includes/specials/SpecialDiff.php index 9f91a10c9c..9804e777b1 100644 --- a/includes/specials/SpecialDiff.php +++ b/includes/specials/SpecialDiff.php @@ -39,7 +39,7 @@ class SpecialDiff extends RedirectSpecialPage { public function __construct() { parent::__construct( 'Diff' ); - $this->mAllowedRedirectParams = array(); + $this->mAllowedRedirectParams = []; } /** @@ -57,7 +57,7 @@ class SpecialDiff extends RedirectSpecialPage { $this->mAddedRedirectParams['diff'] = $parts[1]; } else { // Wrong number of parameters, bail out - $this->getOutput()->addHelpLink( 'Help:Diff' ); + $this->addHelpLink( 'Help:Diff' ); throw new ErrorPageError( 'nopagetitle', 'nopagetext' ); }