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:
authormattab <matthieu.aubry@gmail.com>2014-03-16 10:11:45 +0400
committermattab <matthieu.aubry@gmail.com>2014-03-16 10:11:45 +0400
commit5067dbe1d429f834ac983900e86ce667d1c45cfb (patch)
tree21ece925797bb7d7256bd07975317a095379c38c /core/Common.php
parent0d61c55e731f6ca9830748a889c16b766a46dae1 (diff)
Fixes #3749 Fix the Overview>Report when Actions plugin is disabled
Diffstat (limited to 'core/Common.php')
-rw-r--r--core/Common.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/core/Common.php b/core/Common.php
index 858c9fce28..b25047f078 100644
--- a/core/Common.php
+++ b/core/Common.php
@@ -111,6 +111,11 @@ class Common
return \Piwik\Plugin\Manager::getInstance()->isPluginActivated('Goals');
}
+ public static function isActionsPluginEnabled()
+ {
+ return \Piwik\Plugin\Manager::getInstance()->isPluginActivated('Actions');
+ }
+
/**
* Returns true if PHP was invoked from command-line interface (shell)
*