private function removePluginFromPluginsConfig($pluginName)
{
$pluginsEnabled = $this->pluginList->getActivatedPlugins();
$key = array_search($pluginName, $pluginsEnabled);
if ($key !== false) {
unset($pluginsEnabled[$key]);
}
$this->updatePluginsConfig($pluginsEnabled);
}