diff options
Diffstat (limited to 'core/Plugin/Controller.php')
-rw-r--r-- | core/Plugin/Controller.php | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/core/Plugin/Controller.php b/core/Plugin/Controller.php index 1eed760d12..166d786d70 100644 --- a/core/Plugin/Controller.php +++ b/core/Plugin/Controller.php @@ -733,10 +733,11 @@ abstract class Controller $this->addCustomLogoInfo($view); - $view->logoHeader = \Piwik\Plugins\API\API::getInstance()->getHeaderLogoUrl(); - $view->logoLarge = \Piwik\Plugins\API\API::getInstance()->getLogoUrl(); - $view->logoSVG = \Piwik\Plugins\API\API::getInstance()->getSVGLogoUrl(); - $view->hasSVGLogo = \Piwik\Plugins\API\API::getInstance()->hasSVGLogo(); + $customLogo = new CustomLogo(); + $view->logoHeader = $customLogo->getHeaderLogoUrl(); + $view->logoLarge = $customLogo->getLogoUrl(); + $view->logoSVG = $customLogo->getSVGLogoUrl(); + $view->hasSVGLogo = $customLogo->hasSVGLogo(); $view->superUserEmails = implode(',', Piwik::getAllSuperUserAccessEmailAddresses()); $view->themeStyles = ThemeStyles::get(); |