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/SitesManager/Controller.php')
-rw-r--r--plugins/SitesManager/Controller.php14
1 files changed, 0 insertions, 14 deletions
diff --git a/plugins/SitesManager/Controller.php b/plugins/SitesManager/Controller.php
index 3af7c4f44c..5888aaf60e 100644
--- a/plugins/SitesManager/Controller.php
+++ b/plugins/SitesManager/Controller.php
@@ -100,20 +100,6 @@ class Controller extends \Piwik\Plugin\ControllerAdmin
return $toReturn;
}
- /**
- * User will download a file called PiwikTracker.php that is the content of the actual script
- *
- * @deprecated seems unused and PiwikTracker is now MatomoTracker
- */
- function downloadPiwikTracker()
- {
- $path = PIWIK_INCLUDE_PATH . '/libs/PiwikTracker/';
- $filename = 'PiwikTracker.php';
- Common::sendHeader('Content-type: text/php');
- Common::sendHeader('Content-Disposition: attachment; filename="' . $filename . '"');
- return file_get_contents($path . $filename);
- }
-
public function ignoreNoDataMessage()
{
Piwik::checkUserHasSomeViewAccess();