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:
authorrobocoder <anthon.pang@gmail.com>2009-08-12 11:08:13 +0400
committerrobocoder <anthon.pang@gmail.com>2009-08-12 11:08:13 +0400
commit81dbb9d6c8d9a79dc3de669b0486355bf192333b (patch)
tree3f09e4ff1ef2bbb0be18bd709290d55a6d0a9ce1 /plugins/VisitorInterest/Controller.php
parent625e9c0e056d7edc9b7d44c405e6f5b50b8722a2 (diff)
fixes #922 - use View factory in core plugins; post View.getView event (new hook)
git-svn-id: http://dev.piwik.org/svn/trunk@1390 59fd770c-687e-43c8-a1e3-f5a4ff64c105
Diffstat (limited to 'plugins/VisitorInterest/Controller.php')
-rw-r--r--plugins/VisitorInterest/Controller.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/VisitorInterest/Controller.php b/plugins/VisitorInterest/Controller.php
index 24652de433..77ab73cdd2 100644
--- a/plugins/VisitorInterest/Controller.php
+++ b/plugins/VisitorInterest/Controller.php
@@ -13,7 +13,7 @@ class Piwik_VisitorInterest_Controller extends Piwik_Controller
{
function index()
{
- $view = new Piwik_View('VisitorInterest/templates/index.tpl');
+ $view = Piwik_View::factory('index');
$view->dataTableNumberOfVisitsPerVisitDuration = $this->getNumberOfVisitsPerVisitDuration(true);
$view->dataTableNumberOfVisitsPerPage = $this->getNumberOfVisitsPerPage(true);
echo $view->render();