dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Migrate remaining usages of Title::userCan() to PermissionManager
[lhc/web/wiklou.git]
/
includes
/
specials
/
SpecialApiHelp.php
diff --git
a/includes/specials/SpecialApiHelp.php
b/includes/specials/SpecialApiHelp.php
index
5448013
..
c725d10
100644
(file)
--- a/
includes/specials/SpecialApiHelp.php
+++ b/
includes/specials/SpecialApiHelp.php
@@
-82,11
+82,6
@@
class SpecialApiHelp extends UnlistedSpecialPage {
$this->msg( 'apihelp-no-such-module', $moduleName )->inContentLanguage()->parse()
) );
return;
$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 );
}
ApiHelp::getHelp( $this->getContext(), $module, $options );