API: Remove long-deprecated methods (and one class)
[lhc/web/wiklou.git] / includes / specials / SpecialApiHelp.php
index 5448013..c725d10 100644 (file)
@@ -82,11 +82,6 @@ class SpecialApiHelp extends UnlistedSpecialPage {
                                $this->msg( 'apihelp-no-such-module', $moduleName )->inContentLanguage()->parse()
                        ) );
                        return;
-               } catch ( UsageException $ex ) {
-                       $this->getOutput()->addHTML( Html::rawElement( 'span', [ 'class' => 'error' ],
-                               $this->msg( 'apihelp-no-such-module', $moduleName )->inContentLanguage()->parse()
-                       ) );
-                       return;
                }
 
                ApiHelp::getHelp( $this->getContext(), $module, $options );