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:
authorThomas Steur <thomas.steur@googlemail.com>2014-06-06 07:50:06 +0400
committerThomas Steur <thomas.steur@googlemail.com>2014-06-06 07:50:06 +0400
commitbedfa1c9de069801d58de9642c92f8681c69d7bb (patch)
tree7abafc84eb446736dbe9df5f6c5e8d7b4d7aaf1f /plugins/Live/Live.php
parentb457fcc96885ae6a33896be4f1e98aec9efaf0fa (diff)
working on simplifying widgets. Pushing into a branch since I am not 100% happy with it yet.
Diffstat (limited to 'plugins/Live/Live.php')
-rw-r--r--plugins/Live/Live.php12
1 files changed, 0 insertions, 12 deletions
diff --git a/plugins/Live/Live.php b/plugins/Live/Live.php
index baec9fe3cc..1ce161b3e5 100644
--- a/plugins/Live/Live.php
+++ b/plugins/Live/Live.php
@@ -8,10 +8,7 @@
*/
namespace Piwik\Plugins\Live;
-use Piwik\Menu\MenuAbstract;
-use Piwik\Menu\MenuMain;
use Piwik\Plugins\CoreVisualizations\Visualizations\HtmlTable;
-use Piwik\WidgetsList;
require_once PIWIK_INCLUDE_PATH . '/plugins/Live/VisitorLog.php';
@@ -29,7 +26,6 @@ class Live extends \Piwik\Plugin
return array(
'AssetManager.getJavaScriptFiles' => 'getJsFiles',
'AssetManager.getStylesheetFiles' => 'getStylesheetFiles',
- 'WidgetsList.addWidgets' => 'addWidget',
'Translate.getClientSideTranslationKeys' => 'getClientSideTranslationKeys',
'ViewDataTable.getDefaultType' => 'getDefaultTypeViewDataTable'
);
@@ -48,14 +44,6 @@ class Live extends \Piwik\Plugin
$jsFiles[] = "plugins/Live/javascripts/visitorLog.js";
}
- public function addWidget()
- {
- WidgetsList::add('Live!', 'Live_VisitorsInRealTime', 'Live', 'widget');
- WidgetsList::add('Live!', 'Live_VisitorLog', 'Live', 'getVisitorLog', array('small' => 1));
- WidgetsList::add('Live!', 'Live_RealTimeVisitorCount', 'Live', 'getSimpleLastVisitCount');
- WidgetsList::add('Live!', 'Live_VisitorProfile', 'Live', 'getVisitorProfilePopup');
- }
-
public function getClientSideTranslationKeys(&$translationKeys)
{
$translationKeys[] = "Live_VisitorProfile";