Merge "RCFilters: Basic implementation of live updates"
[lhc/web/wiklou.git] / includes / specials / SpecialDiff.php
index 9f91a10..9804e77 100644 (file)
@@ -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' );
                }