Merge "maintenance: Script to rename titles for Unicode uppercasing changes"
[lhc/web/wiklou.git] / includes / actions / DeleteAction.php
index bb2775f..6fcb1c8 100644 (file)
@@ -1,9 +1,5 @@
 <?php
 /**
- * Handle page deletion
- *
- * Copyright © 2012 Timo Tijhof
- *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation; either version 2 of the License, or
@@ -20,7 +16,6 @@
  *
  * @file
  * @ingroup Actions
- * @author Timo Tijhof
  */
 
 /**
@@ -42,14 +37,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();
        }