Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/MobileMessaging/MobileMessaging.php')
-rw-r--r--plugins/MobileMessaging/MobileMessaging.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/MobileMessaging/MobileMessaging.php b/plugins/MobileMessaging/MobileMessaging.php
index 941d753fa7..840ae48abc 100644
--- a/plugins/MobileMessaging/MobileMessaging.php
+++ b/plugins/MobileMessaging/MobileMessaging.php
@@ -9,12 +9,13 @@
* @package Piwik_MobileMessaging
*/
use Piwik\Piwik;
+use Piwik\Plugin;
/**
*
* @package Piwik_MobileMessaging
*/
-class Piwik_MobileMessaging extends Piwik_Plugin
+class Piwik_MobileMessaging extends Plugin
{
const DELEGATED_MANAGEMENT_OPTION = 'MobileMessaging_DelegatedManagement';
const PROVIDER_OPTION = 'Provider';
@@ -158,7 +159,7 @@ class Piwik_MobileMessaging extends Piwik_Plugin
public function getRendererInstance(&$reportRenderer, $info)
{
if (self::manageEvent($info)) {
- if (PluginsManager::getInstance()->isPluginActivated('MultiSites')) {
+ if (\Piwik\PluginsManager::getInstance()->isPluginActivated('MultiSites')) {
$reportRenderer = new Piwik_MobileMessaging_ReportRenderer_Sms();
} else {
$reportRenderer = new Piwik_MobileMessaging_ReportRenderer_Exception(