Merge "ApiQueryRevisions: Remove bogus query optimization"
[lhc/web/wiklou.git] / includes / specials / SpecialDiff.php
index 9f91a10..8b5d31a 100644 (file)
@@ -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' );
                }