diff --git a/plugins/ImageGraph/Controller.php b/plugins/ImageGraph/Controller.php index cae8a09e8e11f664a2a7ed58308e5de27286c073..0d105ea3b23ba6bde29c6ab31c322b0dcf085ed9 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 8fcfc501acbace8f8f501b3c90705ae40fae98c2..66c18b347760a717007d2d37720cd84af8b3de1a 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', );