diff options
author | diosmosis <benakamoorthi@fastmail.fm> | 2014-02-11 18:49:59 +0400 |
---|---|---|
committer | diosmosis <benakamoorthi@fastmail.fm> | 2014-02-11 18:49:59 +0400 |
commit | 9a4d5b4f4e388a526ae9aed53db261f2424bbfc3 (patch) | |
tree | 276ee6456ef52fc88c2baefc0efdb054e9b48168 /plugins/Dashboard/Controller.php | |
parent | 6af7be40057f23de202bef258a876cdae7d505cb (diff) |
Remove WidgetizedReportControl and keep widget template in Twig template. Renamed widgetsHelper.getEmptyHtml to WidgetFactory.make.
Diffstat (limited to 'plugins/Dashboard/Controller.php')
-rw-r--r-- | plugins/Dashboard/Controller.php | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/plugins/Dashboard/Controller.php b/plugins/Dashboard/Controller.php index 65f98d0c9f..455a1f0b3f 100644 --- a/plugins/Dashboard/Controller.php +++ b/plugins/Dashboard/Controller.php @@ -50,9 +50,6 @@ class Controller extends \Piwik\Plugin\Controller public function embeddedIndex() { $view = $this->_getDashboardView('@Dashboard/embeddedIndex'); - $view->emptyWidgetizedReport = new WidgetizedReportControl(); - $view->emptyWidgetizedReport->renderEmpty = true; - return $view->render(); } @@ -290,15 +287,6 @@ class Controller extends \Piwik\Plugin\Controller } /** - * TODO - */ - public function getReportWidget() - { - $control = new WidgetizedReportControl(); - return $control->render(); - } - - /** * Get the dashboard layout for the current user (anonymous or logged user) * * @param int $idDashboard |