diff options
author | matt <matt@59fd770c-687e-43c8-a1e3-f5a4ff64c105> | 2008-11-27 18:17:11 +0300 |
---|---|---|
committer | matt <matt@59fd770c-687e-43c8-a1e3-f5a4ff64c105> | 2008-11-27 18:17:11 +0300 |
commit | d1226a1f670469aa0b1c3c023c667d24830a97bc (patch) | |
tree | b8ba81e92ba8d0d0a27e207ca6498fe81753d860 /plugins/Referers/Controller.php | |
parent | 8add4726e4fda925b62411e153eee62d7acb5d44 (diff) |
- killing the newsletter feature, now superset by campaign feature
Diffstat (limited to 'plugins/Referers/Controller.php')
-rw-r--r-- | plugins/Referers/Controller.php | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/plugins/Referers/Controller.php b/plugins/Referers/Controller.php index b8df5f1452..c76d596b19 100644 --- a/plugins/Referers/Controller.php +++ b/plugins/Referers/Controller.php @@ -28,7 +28,6 @@ class Piwik_Referers_Controller extends Piwik_Controller $view->urlSparklineDirectEntry = $this->getUrlSparkline('getLastDirectEntryGraph'); $view->urlSparklineWebsites = $this->getUrlSparkline('getLastWebsitesGraph'); $view->urlSparklineCampaigns = $this->getUrlSparkline('getLastCampaignsGraph'); - $view->urlSparklineNewsletters = $this->getUrlSparkline('getLastNewslettersGraph'); // sparklines for the evolution of the distinct keywords count/websites count/ etc $view->urlSparklineDistinctSearchEngines = $this->getUrlSparkline('getLastDistinctSearchEnginesGraph'); @@ -212,7 +211,6 @@ class Piwik_Referers_Controller extends Piwik_Controller 'visitorsFromDirectEntry' => Piwik_Common::REFERER_TYPE_DIRECT_ENTRY, 'visitorsFromWebsites' => Piwik_Common::REFERER_TYPE_WEBSITE, 'visitorsFromCampaigns' => Piwik_Common::REFERER_TYPE_CAMPAIGN, - 'visitorsFromNewsletters' => Piwik_Common::REFERER_TYPE_NEWSLETTER, ); $return = array(); foreach($nameToColumnId as $nameVar => $columnId) @@ -252,12 +250,6 @@ class Piwik_Referers_Controller extends Piwik_Controller $view->setSearchPattern(Piwik_Common::REFERER_TYPE_CAMPAIGN, 'label'); return $this->renderView($view, $fetch); } - function getLastNewslettersGraph( $fetch = false ) - { - $view = $this->getLastUnitGraph($this->pluginName,__FUNCTION__, 'Referers.getRefererType'); - $view->setSearchPattern(Piwik_Common::REFERER_TYPE_NEWSLETTER, 'label'); - return $this->renderView($view, $fetch); - } function getLastDistinctSearchEnginesGraph( $fetch = false ) { $view = $this->getLastUnitGraph($this->pluginName,__FUNCTION__, "Referers.getNumberOfDistinctSearchEngines"); |