MOBILE-4061 behat: Remove local plugin dependancy

main
Pau Ferrer Ocaña 2022-05-05 12:56:08 +02:00
parent 5b5d654b32
commit 22763cec08
1 changed files with 0 additions and 11 deletions

View File

@ -353,17 +353,6 @@ class behat_app extends behat_base {
$service->enabled = 1;
$webservicemanager->update_external_service($service);
}
// If installed, also configure local_mobile plugin to enable additional features service.
$localplugins = core_component::get_plugin_list('local');
if (array_key_exists('mobile', $localplugins)) {
$service = $webservicemanager->get_external_service_by_shortname(
'local_mobile', MUST_EXIST);
if (!$service->enabled) {
$service->enabled = 1;
$webservicemanager->update_external_service($service);
}
}
}
/**