requireExtension( 'DiscussionTools' ); } public function execute() { $frm = new ForeignResourceManager( __DIR__ . '/../modules/lib/foreign-resources.yaml', __DIR__ . '/../modules/lib' ); return $frm->run( 'update', 'all' ); } } $maintClass = ManageForeignResources::class; require_once RUN_MAINTENANCE_IF_MAIN;