Skip to content

Commit edc096b

Browse files
committed
remove redundant code
1 parent dd081a4 commit edc096b

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

Generation/PluginListProvider.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313

1414
use Piwik\Piwik;
1515
use Piwik\Plugin\Manager;
16-
use Piwik\Plugins\OpenApiDocs\OpenApiDocs;
1716

1817
class PluginListProvider
1918
{
@@ -45,14 +44,9 @@ public function getAllowedPlugins(): array
4544

4645
private function shouldIncludeEventProvidedPlugin(string $pluginName): bool
4746
{
48-
if (in_array($pluginName, OpenApiDocs::PLUGIN_BLOCKLIST, true)) {
49-
return false;
50-
}
51-
5247
if (!$this->pluginManager->isPluginInFilesystem($pluginName)) {
5348
return false;
5449
}
55-
5650
return $this->pluginHasApiFile($pluginName);
5751
}
5852

0 commit comments

Comments
 (0)