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:
authorsgiehl <stefan@piwik.org>2015-06-08 23:32:04 +0300
committersgiehl <stefan@piwik.org>2015-06-08 23:32:04 +0300
commit67e6069c3e5e25e8c5d11267e14e3de3160e192a (patch)
tree950eeccfbd4f77e26111c00018166a4f78234e0c /plugins/ImageGraph
parent38b3b58217256d62a75ef79e8d0f83fc1d075e34 (diff)
remove getInformation() method from ImageGraph plugin
Diffstat (limited to 'plugins/ImageGraph')
-rw-r--r--plugins/ImageGraph/Controller.php5
-rw-r--r--plugins/ImageGraph/ImageGraph.php9
2 files changed, 4 insertions, 10 deletions
diff --git a/plugins/ImageGraph/Controller.php b/plugins/ImageGraph/Controller.php
index cae8a09e8e..0d105ea3b2 100644
--- a/plugins/ImageGraph/Controller.php
+++ b/plugins/ImageGraph/Controller.php
@@ -16,7 +16,10 @@ use Piwik\View;
class Controller extends \Piwik\Plugin\Controller
{
- // Call metadata reports, and draw the default graph for each report.
+ /**
+ * @internal For Debugging only
+ * Call metadata reports and draw the default graph for each report.
+ */
public function index()
{
Piwik::checkUserHasSomeAdminAccess();
diff --git a/plugins/ImageGraph/ImageGraph.php b/plugins/ImageGraph/ImageGraph.php
index 8fcfc501ac..66c18b3477 100644
--- a/plugins/ImageGraph/ImageGraph.php
+++ b/plugins/ImageGraph/ImageGraph.php
@@ -21,15 +21,6 @@ use Piwik\Period\Factory as PeriodFactory;
class ImageGraph extends \Piwik\Plugin
{
- public function getInformation()
- {
- $suffix = ' Debug: <a href="' . Url::getCurrentQueryStringWithParametersModified(
- array('module' => 'ImageGraph', 'action' => 'index')) . '">All images</a>';
- $info = parent::getInformation();
- $info['description'] .= ' ' . $suffix;
- return $info;
- }
-
private static $CONSTANT_ROW_COUNT_REPORT_EXCEPTIONS = array(
'Referrers_getReferrerType',
);