diff options
Diffstat (limited to 'core/Twig.php')
-rw-r--r-- | core/Twig.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Twig.php b/core/Twig.php index a5a9cea40e..5f6550512e 100644 --- a/core/Twig.php +++ b/core/Twig.php @@ -11,6 +11,7 @@ namespace Piwik; use Exception; +use Piwik\API\Request; use Piwik\Piwik; use Piwik\Common; use Piwik\AssetManager; @@ -239,7 +240,6 @@ class Twig { $plugins = PluginsManager::getInstance()->getLoadedPluginsName(); foreach ($plugins as $name) { - $name = Common::unprefixClass($name); $path = sprintf("%s/plugins/%s/templates/", PIWIK_INCLUDE_PATH, $name); if (is_dir($path)) { $loader->addPath(PIWIK_INCLUDE_PATH . '/plugins/' . $name . '/templates', $name); |