From: Bartosz DziewoƄski Date: Wed, 12 Jul 2017 18:46:15 +0000 (+0200) Subject: DeleteAction: Remove now-unnecessary RL modules X-Git-Tag: 1.31.0-rc.0~2724^2 X-Git-Url: http://git.cyclocoop.org/%22.%24h.%22?a=commitdiff_plain;h=51be1c92de17b7906a6610fb0a69a9a000d5a4ef;p=lhc%2Fweb%2Fwiklou.git DeleteAction: Remove now-unnecessary RL modules After 97a8fb78faa4ca2d9604140e5547f5deae5a2524 these are never used. Change-Id: Ibb4ee45ad991651afab0f0363056d3066e740b24 --- diff --git a/includes/actions/DeleteAction.php b/includes/actions/DeleteAction.php index bb2775f258..6bed59a2f3 100644 --- a/includes/actions/DeleteAction.php +++ b/includes/actions/DeleteAction.php @@ -42,14 +42,6 @@ class DeleteAction extends FormlessAction { public function show() { $this->useTransactionalTimeLimit(); - - $out = $this->getOutput(); - if ( $this->getContext()->getConfig()->get( 'UseMediaWikiUIEverywhere' ) ) { - $out->addModuleStyles( [ - 'mediawiki.ui.input', - 'mediawiki.ui.checkbox', - ] ); - } $this->addHelpLink( 'Help:Sysop deleting and undeleting' ); $this->page->delete(); }