Skip to content
Extraits de code Groupes Projets
Valider 67e6069c rédigé par sgiehl's avatar sgiehl
Parcourir les fichiers

remove getInformation() method from ImageGraph plugin

parent 38b3b582
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -16,7 +16,10 @@ use Piwik\View; ...@@ -16,7 +16,10 @@ use Piwik\View;
class Controller extends \Piwik\Plugin\Controller 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() public function index()
{ {
Piwik::checkUserHasSomeAdminAccess(); Piwik::checkUserHasSomeAdminAccess();
......
...@@ -21,15 +21,6 @@ use Piwik\Period\Factory as PeriodFactory; ...@@ -21,15 +21,6 @@ use Piwik\Period\Factory as PeriodFactory;
class ImageGraph extends \Piwik\Plugin 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( private static $CONSTANT_ROW_COUNT_REPORT_EXCEPTIONS = array(
'Referrers_getReferrerType', 'Referrers_getReferrerType',
); );
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter