diff options
author | mattab <matthieu.aubry@gmail.com> | 2013-07-21 12:01:35 +0400 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2013-07-21 12:01:36 +0400 |
commit | aca8ec33a85e0a70b818b6227145041717d7a69e (patch) | |
tree | 41377e3a9737d63222522ef93ecf8483f3faddfa /core/Piwik.php | |
parent | 0a63210e3eae7562af1a3dbee340eb1ee140db3d (diff) |
Refs #4059 Work in progress: Conversion to use Namespaces: Period*, Metrics, Segment, SegmentExpression, PluginsManager.
Removed some deprecated code.
Diffstat (limited to 'core/Piwik.php')
-rw-r--r-- | core/Piwik.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/core/Piwik.php b/core/Piwik.php index 5f2c57e111..5edff85b19 100644 --- a/core/Piwik.php +++ b/core/Piwik.php @@ -23,7 +23,7 @@ use Piwik_Log_Error; use Piwik_Log_Exception; use Piwik_Log_Formatter_ScreenFormatter; use Piwik_Log_Message; -use Piwik_Plugin; +use Piwik\Plugin; use Piwik_Session; use Piwik\Site; use Piwik_Tracker; @@ -1250,7 +1250,7 @@ class Piwik return "$usage Mb"; } - /* +/* * Amounts, Percentages, Currency, Time, Math Operations, and Pretty Printing */ @@ -1842,11 +1842,11 @@ class Piwik /** * Returns the plugin currently being used to display the page * - * @return Piwik_Plugin + * @return Plugin */ static public function getCurrentPlugin() { - return PluginsManager::getInstance()->getLoadedPlugin(Piwik::getModule()); + return \Piwik\PluginsManager::getInstance()->getLoadedPlugin(Piwik::getModule()); } /** |