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-21 12:01:35 +0400
committermattab <matthieu.aubry@gmail.com>2013-07-21 12:01:36 +0400
commitaca8ec33a85e0a70b818b6227145041717d7a69e (patch)
tree41377e3a9737d63222522ef93ecf8483f3faddfa /plugins/Live/Controller.php
parent0a63210e3eae7562af1a3dbee340eb1ee140db3d (diff)
Refs #4059 Work in progress: Conversion to use Namespaces: Period*, Metrics, Segment, SegmentExpression, PluginsManager.
Removed some deprecated code.
Diffstat (limited to 'plugins/Live/Controller.php')
-rw-r--r--plugins/Live/Controller.php7
1 files changed, 4 insertions, 3 deletions
diff --git a/plugins/Live/Controller.php b/plugins/Live/Controller.php
index bad3a1bcbf..69c94fdf87 100644
--- a/plugins/Live/Controller.php
+++ b/plugins/Live/Controller.php
@@ -8,8 +8,9 @@
* @category Piwik_Plugins
* @package Piwik_Live
*/
-use Piwik\Piwik;
use Piwik\Common;
+use Piwik\Piwik;
+use Piwik\Config;
/**
* @package Piwik_Live
@@ -67,7 +68,7 @@ class Piwik_Live_Controller extends Piwik_Controller
return $this->render($view, $fetch);
}
- private function render($view, $fetch)
+ private function render(Piwik_View $view, $fetch)
{
$rendered = $view->render();
if ($fetch) {
@@ -102,7 +103,7 @@ class Piwik_Live_Controller extends Piwik_Controller
// disable the tag cloud, pie charts, bar chart icons
$view->disableShowAllViewsIcons();
- // disable the button "show more datas"
+ // disable the button "show more data"
$view->disableShowAllColumns();
// disable the RSS feed
$view->disableShowExportAsRssFeed();