diff --git a/libraries/src/Plugin/PluginHelper.php b/libraries/src/Plugin/PluginHelper.php index 77a1c188c75a5..be2ce4a75f8ff 100644 --- a/libraries/src/Plugin/PluginHelper.php +++ b/libraries/src/Plugin/PluginHelper.php @@ -248,10 +248,7 @@ protected static function import($plugin, $autocreate = true, \JEventDispatcher { if (file_exists($path)) { - if (!isset($paths[$dispatcherHash][$path])) - { - require_once $path; - } + require_once $path; $paths[$dispatcherHash][$path] = true;