diff options
author | mattab <matthieu.aubry@gmail.com> | 2014-03-16 10:11:45 +0400 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2014-03-16 10:11:45 +0400 |
commit | 5067dbe1d429f834ac983900e86ce667d1c45cfb (patch) | |
tree | 21ece925797bb7d7256bd07975317a095379c38c /core/Common.php | |
parent | 0d61c55e731f6ca9830748a889c16b766a46dae1 (diff) |
Fixes #3749 Fix the Overview>Report when Actions plugin is disabled
Diffstat (limited to 'core/Common.php')
-rw-r--r-- | core/Common.php | 5 |
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) * |