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:
authorThomas Steur <tsteur@users.noreply.github.com>2020-06-03 09:47:44 +0300
committerGitHub <noreply@github.com>2020-06-03 09:47:44 +0300
commit7585967cbd80d7869f57a9adc69c02e8d14cbc33 (patch)
tree7b06afedbcb883175f02ffff141809d001097b64 /plugins/SitesManager/Controller.php
parentcaf7dbf0fdd3e91a47fa49f297ed18a75ddeff9d (diff)
Remove code tagged with `@deprecated` (#16001)
* remove some code tagged with deprecated * some more tweaks * remove more deprecated methods * more deprecations * remove old files * remove more deprecated methods * fix some tests * update logviewer submodule * fix some tests * fix ui test * another deprecation * Update CHANGELOG.md Co-authored-by: Stefan Giehl <stefan@matomo.org> * add test for dimensions provider Co-authored-by: Stefan Giehl <stefan@matomo.org>
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();