mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/DiscussionTools
synced 2024-11-24 08:23:52 +00:00
Merge "Call Maintenance::requireExtension"
This commit is contained in:
commit
59bfd520f6
|
@ -7,6 +7,12 @@ if ( $IP === false ) {
|
|||
require_once "$IP/maintenance/Maintenance.php";
|
||||
|
||||
class ManageForeignResources extends Maintenance {
|
||||
|
||||
public function __construct() {
|
||||
parent::__construct();
|
||||
$this->requireExtension( 'DiscussionTools' );
|
||||
}
|
||||
|
||||
public function execute() {
|
||||
$frm = new ForeignResourceManager(
|
||||
__DIR__ . '/../modules/lib/foreign-resources.yaml',
|
||||
|
|
Loading…
Reference in a new issue