diff options
author | Stefan Giehl <stefan@matomo.org> | 2022-03-10 23:08:31 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-10 23:08:31 +0300 |
commit | c11469e4199405628e97650914f0cdbdea94dac7 (patch) | |
tree | af07edd44b6ac95fa3cd6e439d435cf6c55e9ad5 /plugins/MultiSites | |
parent | 05082abdca8909cf27137773f129cf66f495922b (diff) |
[Codingstyle] Disallow unused use statements (#18520)
* Forbid unused use statements
* Fix some incorrect classnames
* fix tests
* remove unused use statements
Diffstat (limited to 'plugins/MultiSites')
-rw-r--r-- | plugins/MultiSites/Controller.php | 3 | ||||
-rw-r--r-- | plugins/MultiSites/Dashboard.php | 5 |
2 files changed, 0 insertions, 8 deletions
diff --git a/plugins/MultiSites/Controller.php b/plugins/MultiSites/Controller.php index 715c59a732..bc66edd022 100644 --- a/plugins/MultiSites/Controller.php +++ b/plugins/MultiSites/Controller.php @@ -11,9 +11,6 @@ namespace Piwik\Plugins\MultiSites; use Piwik\Common; use Piwik\Config; use Piwik\Date; -use Piwik\Period; -use Piwik\DataTable; -use Piwik\DataTable\Row; use Piwik\Piwik; use Piwik\Translation\Translator; use Piwik\View; diff --git a/plugins/MultiSites/Dashboard.php b/plugins/MultiSites/Dashboard.php index 1a64f26edf..614a7c7e92 100644 --- a/plugins/MultiSites/Dashboard.php +++ b/plugins/MultiSites/Dashboard.php @@ -11,15 +11,10 @@ namespace Piwik\Plugins\MultiSites; use Piwik\API\DataTablePostProcessor; use Piwik\API\Request; use Piwik\API\ResponseBuilder; -use Piwik\Config; -use Piwik\Metrics\Formatter; use Piwik\NumberFormatter; -use Piwik\Period; use Piwik\DataTable; -use Piwik\DataTable\Row; use Piwik\DataTable\Row\DataTableSummaryRow; use Piwik\Site; -use Piwik\View; /** * Fetches and formats the response of `MultiSites.getAll` in a way that it can be used by the All Websites AngularJS |