Merge "Call Maintenance::requireExtension"

This commit is contained in:
jenkins-bot 2020-01-15 09:01:23 +00:00 committed by Gerrit Code Review
commit 59bfd520f6

View file

@ -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',