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:
Diffstat (limited to 'plugins/Live/Live.php')
-rw-r--r--plugins/Live/Live.php14
1 files changed, 1 insertions, 13 deletions
diff --git a/plugins/Live/Live.php b/plugins/Live/Live.php
index baec9fe3cc..31efb4cf7a 100644
--- a/plugins/Live/Live.php
+++ b/plugins/Live/Live.php
@@ -1,6 +1,6 @@
<?php
/**
- * Piwik - Open source web analytics
+ * Piwik - free/libre analytics platform
*
* @link http://piwik.org
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
@@ -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";