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>2013-07-20 11:09:46 +0400
committermattab <matthieu.aubry@gmail.com>2013-07-20 11:09:46 +0400
commit0a63210e3eae7562af1a3dbee340eb1ee140db3d (patch)
treec9f7c3a36a4b344b25c12aa04fed0733efb3bfa0 /core/Common.php
parent7ca35544d15cdb41b17283e693c8a14777c923ad (diff)
Converting to namespace: Period*, Metrics, Segment, SegmentExpression, PluginsManager
Diffstat (limited to 'core/Common.php')
-rw-r--r--core/Common.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/core/Common.php b/core/Common.php
index 2f12f3e488..c7ed91eacd 100644
--- a/core/Common.php
+++ b/core/Common.php
@@ -3,7 +3,6 @@ namespace Piwik;
use Exception;
use Piwik_IP;
-use Piwik_PluginsManager;
use Piwik_Tracker;
use Piwik_Tracker_Cache;
use Piwik_UserCountry_LocationProvider_Default;
@@ -106,7 +105,7 @@ class Common
*/
public static function isGoalPluginEnabled()
{
- return Piwik_PluginsManager::getInstance()->isPluginActivated('Goals');
+ return PluginsManager::getInstance()->isPluginActivated('Goals');
}
/*
@@ -970,7 +969,7 @@ class Common
* @param string|null $browserLang Optional browser language, otherwise taken from the request header
* @return string
*/
- public static function getBrowserLanguage($browserLang = NULL)
+ public static function getBrowserLanguage($browserLang = null)
{
static $replacementPatterns = array(
// extraneous bits of RFC 3282 that we ignore