diff options
author | sgiehl <stefan@piwik.org> | 2014-07-22 11:59:51 +0400 |
---|---|---|
committer | sgiehl <stefan@piwik.org> | 2014-07-22 12:00:04 +0400 |
commit | e5406d297315a7b399a82b118649b70a5577b477 (patch) | |
tree | 672d4bd97f3a819df8249fbb8927043c9fba43d1 | |
parent | bdb80a502652fcb9425ace10ee816571eaaf74dc (diff) |
removed unused use statements
37 files changed, 0 insertions, 57 deletions
diff --git a/plugins/Actions/Columns/ServerTime.php b/plugins/Actions/Columns/ServerTime.php index c6707f947f..f350306a9a 100644 --- a/plugins/Actions/Columns/ServerTime.php +++ b/plugins/Actions/Columns/ServerTime.php @@ -8,7 +8,6 @@ */ namespace Piwik\Plugins\Actions\Columns; -use Piwik\Common; use Piwik\Db; use Piwik\Plugin\Dimension\ActionDimension; use Piwik\Tracker\Action; diff --git a/plugins/Actions/Reports/GetEntryPageTitles.php b/plugins/Actions/Reports/GetEntryPageTitles.php index 70b56136d4..f5b9c41817 100644 --- a/plugins/Actions/Reports/GetEntryPageTitles.php +++ b/plugins/Actions/Reports/GetEntryPageTitles.php @@ -10,7 +10,6 @@ namespace Piwik\Plugins\Actions\Reports; use Piwik\Piwik; use Piwik\Plugin\ViewDataTable; -use Piwik\Common; use Piwik\Plugins\Actions\Columns\EntryPageTitle; class GetEntryPageTitles extends Base diff --git a/plugins/Actions/Reports/GetExitPageUrls.php b/plugins/Actions/Reports/GetExitPageUrls.php index e0629a7006..72a95379b6 100644 --- a/plugins/Actions/Reports/GetExitPageUrls.php +++ b/plugins/Actions/Reports/GetExitPageUrls.php @@ -11,10 +11,8 @@ namespace Piwik\Plugins\Actions\Reports; use Piwik\Common; use Piwik\Piwik; use Piwik\Plugin\ViewDataTable; -use Piwik\Plugins\Actions\API; use Piwik\API\Request; use Piwik\Plugins\Actions\Columns\ExitPageUrl; -use Piwik\Plugins\Actions\Columns\PageUrl; class GetExitPageUrls extends Base { diff --git a/plugins/Actions/Reports/GetOutlinks.php b/plugins/Actions/Reports/GetOutlinks.php index 9c048b6a5c..adf21c572c 100644 --- a/plugins/Actions/Reports/GetOutlinks.php +++ b/plugins/Actions/Reports/GetOutlinks.php @@ -10,11 +10,7 @@ namespace Piwik\Plugins\Actions\Reports; use Piwik\Piwik; use Piwik\Plugin\ViewDataTable; -use Piwik\Plugins\Actions\API; -use Piwik\API\Request; -use Piwik\Common; use Piwik\Plugins\Actions\Columns\ClickedUrl; -use Piwik\Plugins\Actions\Columns\PageTitle; class GetOutlinks extends Base { diff --git a/plugins/Actions/Reports/GetPageTitles.php b/plugins/Actions/Reports/GetPageTitles.php index 1df0d8e5d8..ed6e4aed68 100644 --- a/plugins/Actions/Reports/GetPageTitles.php +++ b/plugins/Actions/Reports/GetPageTitles.php @@ -10,7 +10,6 @@ namespace Piwik\Plugins\Actions\Reports; use Piwik\Piwik; use Piwik\Plugin\ViewDataTable; -use Piwik\Plugins\Actions\API; use Piwik\API\Request; use Piwik\Common; use Piwik\Plugins\Actions\Columns\PageTitle; diff --git a/plugins/CoreAdminHome/Tasks.php b/plugins/CoreAdminHome/Tasks.php index 649579dc10..5f08b4f096 100644 --- a/plugins/CoreAdminHome/Tasks.php +++ b/plugins/CoreAdminHome/Tasks.php @@ -9,7 +9,6 @@ namespace Piwik\Plugins\CoreAdminHome; use Piwik\DataAccess\ArchivePurger; -use Piwik\DataAccess\ArchiveSelector; use Piwik\DataAccess\ArchiveTableCreator; use Piwik\Date; use Piwik\Db; diff --git a/plugins/CoreConsole/Commands/CoreArchiver.php b/plugins/CoreConsole/Commands/CoreArchiver.php index 4a3a24fc61..3ed3f2a7a5 100644 --- a/plugins/CoreConsole/Commands/CoreArchiver.php +++ b/plugins/CoreConsole/Commands/CoreArchiver.php @@ -7,12 +7,10 @@ */ namespace Piwik\Plugins\CoreConsole\Commands; -use Piwik\Common; use Piwik\CronArchive; use Piwik\Log; use Piwik\Plugin\ConsoleCommand; use Piwik\Site; -use Symfony\Component\Console\Input\InputArgument; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Input\InputOption; use Symfony\Component\Console\Output\OutputInterface; diff --git a/plugins/CoreConsole/Commands/DevelopmentEnable.php b/plugins/CoreConsole/Commands/DevelopmentEnable.php index ffcb8f83cb..5ee80610d6 100644 --- a/plugins/CoreConsole/Commands/DevelopmentEnable.php +++ b/plugins/CoreConsole/Commands/DevelopmentEnable.php @@ -12,7 +12,6 @@ namespace Piwik\Plugins\CoreConsole\Commands; use Piwik\Config; use Piwik\Filesystem; use Piwik\Plugin\ConsoleCommand; -use Symfony\Component\Console\Input\InputArgument; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Input\InputOption; use Symfony\Component\Console\Output\OutputInterface; diff --git a/plugins/CoreConsole/Commands/GenerateCommand.php b/plugins/CoreConsole/Commands/GenerateCommand.php index 416c7f64c7..d9abc58b70 100644 --- a/plugins/CoreConsole/Commands/GenerateCommand.php +++ b/plugins/CoreConsole/Commands/GenerateCommand.php @@ -9,7 +9,6 @@ namespace Piwik\Plugins\CoreConsole\Commands; -use Symfony\Component\Console\Formatter\OutputFormatterStyle; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Input\InputOption; use Symfony\Component\Console\Output\OutputInterface; diff --git a/plugins/CoreConsole/Commands/GenerateVisualizationPlugin.php b/plugins/CoreConsole/Commands/GenerateVisualizationPlugin.php index 4d2a08c7fe..8d732e9ffb 100644 --- a/plugins/CoreConsole/Commands/GenerateVisualizationPlugin.php +++ b/plugins/CoreConsole/Commands/GenerateVisualizationPlugin.php @@ -10,7 +10,6 @@ namespace Piwik\Plugins\CoreConsole\Commands; -use Symfony\Component\Console\Input\ArrayInput; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Input\InputOption; use Symfony\Component\Console\Output\OutputInterface; diff --git a/plugins/CoreConsole/Commands/GitCommit.php b/plugins/CoreConsole/Commands/GitCommit.php index 74ed211b17..d693359a8c 100644 --- a/plugins/CoreConsole/Commands/GitCommit.php +++ b/plugins/CoreConsole/Commands/GitCommit.php @@ -10,7 +10,6 @@ namespace Piwik\Plugins\CoreConsole\Commands; use Piwik\Plugin\ConsoleCommand; -use Symfony\Component\Console\Input\InputArgument; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Input\InputOption; use Symfony\Component\Console\Output\OutputInterface; diff --git a/plugins/CoreConsole/Commands/GitPull.php b/plugins/CoreConsole/Commands/GitPull.php index cecd8a19ff..8bf476f883 100644 --- a/plugins/CoreConsole/Commands/GitPull.php +++ b/plugins/CoreConsole/Commands/GitPull.php @@ -10,9 +10,7 @@ namespace Piwik\Plugins\CoreConsole\Commands; use Piwik\Plugin\ConsoleCommand; -use Symfony\Component\Console\Input\InputArgument; use Symfony\Component\Console\Input\InputInterface; -use Symfony\Component\Console\Input\InputOption; use Symfony\Component\Console\Output\OutputInterface; /** diff --git a/plugins/CoreConsole/Commands/GitPush.php b/plugins/CoreConsole/Commands/GitPush.php index 04663901e2..fdf91cdb03 100644 --- a/plugins/CoreConsole/Commands/GitPush.php +++ b/plugins/CoreConsole/Commands/GitPush.php @@ -10,9 +10,7 @@ namespace Piwik\Plugins\CoreConsole\Commands; use Piwik\Plugin\ConsoleCommand; -use Symfony\Component\Console\Input\InputArgument; use Symfony\Component\Console\Input\InputInterface; -use Symfony\Component\Console\Input\InputOption; use Symfony\Component\Console\Output\OutputInterface; /** diff --git a/plugins/CoreUpdater/Commands/Update.php b/plugins/CoreUpdater/Commands/Update.php index e86206f22d..e5a0e39d33 100644 --- a/plugins/CoreUpdater/Commands/Update.php +++ b/plugins/CoreUpdater/Commands/Update.php @@ -12,9 +12,6 @@ use Piwik\Plugin\ConsoleCommand; use Piwik\Plugins\CoreUpdater\Controller; use Piwik\Plugins\CoreUpdater\NoUpdatesFoundException; use Piwik\Plugins\UserCountry\LocationProvider; -use Symfony\Component\Console\Input\ArrayInput; -use Symfony\Component\Console\Input\InputArgument; -use Symfony\Component\Console\Input\InputDefinition; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Input\InputOption; use Symfony\Component\Console\Output\OutputInterface; diff --git a/plugins/CustomVariables/Commands/Info.php b/plugins/CustomVariables/Commands/Info.php index 1c2a73bda6..9c907b1599 100644 --- a/plugins/CustomVariables/Commands/Info.php +++ b/plugins/CustomVariables/Commands/Info.php @@ -13,7 +13,6 @@ use Piwik\Common; use Piwik\Plugin\ConsoleCommand; use Piwik\Plugins\CustomVariables\CustomVariables; use Piwik\Plugins\CustomVariables\Model; -use Symfony\Component\Console\Input\InputArgument; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Output\OutputInterface; diff --git a/plugins/CustomVariables/Commands/SetNumberOfCustomVariables.php b/plugins/CustomVariables/Commands/SetNumberOfCustomVariables.php index 521d48704a..f769951cd6 100644 --- a/plugins/CustomVariables/Commands/SetNumberOfCustomVariables.php +++ b/plugins/CustomVariables/Commands/SetNumberOfCustomVariables.php @@ -14,7 +14,6 @@ use Piwik\Plugins\CustomVariables\Model; use Piwik\Tracker\Cache; use Symfony\Component\Console\Input\InputArgument; use Symfony\Component\Console\Input\InputInterface; -use Symfony\Component\Console\Input\InputOption; use Symfony\Component\Console\Output\OutputInterface; /** diff --git a/plugins/CustomVariables/tests/Commands/InfoTest.php b/plugins/CustomVariables/tests/Commands/InfoTest.php index 654dc9c779..28f3d86cc7 100644 --- a/plugins/CustomVariables/tests/Commands/InfoTest.php +++ b/plugins/CustomVariables/tests/Commands/InfoTest.php @@ -12,9 +12,6 @@ namespace Piwik\Plugins\CustomVariables\tests\Commands; use Piwik\Plugins\CustomVariables\Commands\Info; use Piwik\Plugins\CustomVariables\Model; use Symfony\Component\Console\Application; -use Symfony\Component\Console\Input\InputArgument; -use Symfony\Component\Console\Input\InputInterface; -use Symfony\Component\Console\Output\OutputInterface; use Symfony\Component\Console\Tester\CommandTester; /** diff --git a/plugins/CustomVariables/tests/Commands/SetNumberOfCustomVariablesTest.php b/plugins/CustomVariables/tests/Commands/SetNumberOfCustomVariablesTest.php index e73fb2c81c..521684cac3 100644 --- a/plugins/CustomVariables/tests/Commands/SetNumberOfCustomVariablesTest.php +++ b/plugins/CustomVariables/tests/Commands/SetNumberOfCustomVariablesTest.php @@ -12,9 +12,6 @@ namespace Piwik\Plugins\CustomVariables\tests\Commands; use Piwik\Plugins\CustomVariables\Commands\SetNumberOfCustomVariables; use Piwik\Plugins\CustomVariables\CustomVariables; use Symfony\Component\Console\Application; -use Symfony\Component\Console\Input\InputArgument; -use Symfony\Component\Console\Input\InputInterface; -use Symfony\Component\Console\Output\OutputInterface; use Symfony\Component\Console\Tester\CommandTester; /** diff --git a/plugins/Dashboard/Menu.php b/plugins/Dashboard/Menu.php index e972ae7dfd..2549021fc7 100644 --- a/plugins/Dashboard/Menu.php +++ b/plugins/Dashboard/Menu.php @@ -8,10 +8,7 @@ */ namespace Piwik\Plugins\Dashboard; -use Exception; -use Piwik\Common; use Piwik\Db; -use Piwik\Menu\MenuAbstract; use Piwik\Menu\MenuReporting; use Piwik\Menu\MenuTop; use Piwik\Piwik; diff --git a/plugins/DevicesDetection/Reports/Base.php b/plugins/DevicesDetection/Reports/Base.php index 0131466c03..7ca883af3f 100644 --- a/plugins/DevicesDetection/Reports/Base.php +++ b/plugins/DevicesDetection/Reports/Base.php @@ -8,8 +8,6 @@ */ namespace Piwik\Plugins\DevicesDetection\Reports; -use Piwik\Piwik; - abstract class Base extends \Piwik\Plugin\Report { protected function init() diff --git a/plugins/Events/Reports/GetCategory.php b/plugins/Events/Reports/GetCategory.php index f91736eb3f..a901e5c32c 100644 --- a/plugins/Events/Reports/GetCategory.php +++ b/plugins/Events/Reports/GetCategory.php @@ -9,7 +9,6 @@ namespace Piwik\Plugins\Events\Reports; use Piwik\Piwik; -use Piwik\Plugin\ViewDataTable; use Piwik\Plugins\Events\Columns\EventCategory; class GetCategory extends Base diff --git a/plugins/Events/Reports/GetName.php b/plugins/Events/Reports/GetName.php index c68255e68e..886e992085 100644 --- a/plugins/Events/Reports/GetName.php +++ b/plugins/Events/Reports/GetName.php @@ -9,7 +9,6 @@ namespace Piwik\Plugins\Events\Reports; use Piwik\Piwik; -use Piwik\Plugin\ViewDataTable; use Piwik\Plugins\Events\Columns\EventName; class GetName extends Base diff --git a/plugins/ExampleCommand/Commands/HelloWorld.php b/plugins/ExampleCommand/Commands/HelloWorld.php index 1a2072a7e3..5c0d415dcd 100644 --- a/plugins/ExampleCommand/Commands/HelloWorld.php +++ b/plugins/ExampleCommand/Commands/HelloWorld.php @@ -10,7 +10,6 @@ namespace Piwik\Plugins\ExampleCommand\Commands; use Piwik\Plugin\ConsoleCommand; -use Symfony\Component\Console\Input\InputArgument; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Input\InputOption; use Symfony\Component\Console\Output\OutputInterface; diff --git a/plugins/ExampleUI/Menu.php b/plugins/ExampleUI/Menu.php index 06c4bccf8e..182a457dab 100644 --- a/plugins/ExampleUI/Menu.php +++ b/plugins/ExampleUI/Menu.php @@ -9,7 +9,6 @@ namespace Piwik\Plugins\ExampleUI; use Piwik\Menu\MenuReporting; -use Piwik\Menu\MenuTop; use Piwik\Menu\MenuUser; use Piwik\Plugin\Manager as PluginManager; diff --git a/plugins/Goals/Widgets.php b/plugins/Goals/Widgets.php index f0dfddde43..30c113e9a2 100644 --- a/plugins/Goals/Widgets.php +++ b/plugins/Goals/Widgets.php @@ -8,7 +8,6 @@ */ namespace Piwik\Plugins\Goals; -use Piwik\WidgetsList; use Piwik\Common; use Piwik\Site; use Piwik\Piwik; diff --git a/plugins/Installation/Installation.php b/plugins/Installation/Installation.php index efbf904212..758f398a7a 100644 --- a/plugins/Installation/Installation.php +++ b/plugins/Installation/Installation.php @@ -11,7 +11,6 @@ namespace Piwik\Plugins\Installation; use Piwik\Common; use Piwik\Config; use Piwik\FrontController; -use Piwik\Menu\MenuAbstract; use Piwik\Piwik; use Piwik\Translate; use Piwik\View as PiwikView; diff --git a/plugins/Installation/SystemCheck.php b/plugins/Installation/SystemCheck.php index c017a19d41..69eb888654 100644 --- a/plugins/Installation/SystemCheck.php +++ b/plugins/Installation/SystemCheck.php @@ -9,7 +9,6 @@ namespace Piwik\Plugins\Installation; use Piwik\CliMulti; -use Piwik\CliMulti\Process; use Piwik\Common; use Piwik\Config; use Piwik\Db; diff --git a/plugins/LanguagesManager/Commands/PluginsWithTranslations.php b/plugins/LanguagesManager/Commands/PluginsWithTranslations.php index cda72d7c55..1d8afc2964 100644 --- a/plugins/LanguagesManager/Commands/PluginsWithTranslations.php +++ b/plugins/LanguagesManager/Commands/PluginsWithTranslations.php @@ -10,9 +10,7 @@ namespace Piwik\Plugins\LanguagesManager\Commands; use Piwik\Plugin\ConsoleCommand; -use Symfony\Component\Console\Input\InputArgument; use Symfony\Component\Console\Input\InputInterface; -use Symfony\Component\Console\Input\InputOption; use Symfony\Component\Console\Output\OutputInterface; /** diff --git a/plugins/LeftMenu/tests/APITest.php b/plugins/LeftMenu/tests/APITest.php index ee9a70cfeb..05d0f34aed 100644 --- a/plugins/LeftMenu/tests/APITest.php +++ b/plugins/LeftMenu/tests/APITest.php @@ -9,7 +9,6 @@ namespace Piwik\Plugins\LeftMenu\tests; use Piwik\Access; -use Piwik\Option; use Piwik\Plugins\LeftMenu\API; use Piwik\Plugins\LeftMenu\Settings; use \FakeAccess; diff --git a/plugins/Live/Controller.php b/plugins/Live/Controller.php index 8b7b88dbb4..0b540b71d8 100644 --- a/plugins/Live/Controller.php +++ b/plugins/Live/Controller.php @@ -11,7 +11,6 @@ namespace Piwik\Plugins\Live; use Piwik\API\Request; use Piwik\Common; use Piwik\Config; -use Piwik\MetricsFormatter; use Piwik\Piwik; use Piwik\Plugins\Live\Reports\GetLastVisitsDetails; use Piwik\Plugins\Goals\API as APIGoals; diff --git a/plugins/ScheduledReports/API.php b/plugins/ScheduledReports/API.php index 4f09960119..cf02d1eb0f 100644 --- a/plugins/ScheduledReports/API.php +++ b/plugins/ScheduledReports/API.php @@ -17,11 +17,9 @@ use Piwik\Piwik; use Piwik\Plugins\LanguagesManager\LanguagesManager; use Piwik\Plugins\SegmentEditor\API as APISegmentEditor; use Piwik\Plugins\SitesManager\API as SitesManagerApi; -use Piwik\ReportRenderer\Html; use Piwik\ReportRenderer; use Piwik\Site; use Piwik\Translate; -use Zend_Mime; /** * The ScheduledReports API lets you manage Scheduled Email reports, as well as generate, download or email any existing report. diff --git a/plugins/SegmentEditor/API.php b/plugins/SegmentEditor/API.php index a6c2c2906c..c364c54323 100644 --- a/plugins/SegmentEditor/API.php +++ b/plugins/SegmentEditor/API.php @@ -14,7 +14,6 @@ use Piwik\Date; use Piwik\Db; use Piwik\Piwik; use Piwik\Config; -use Piwik\Plugins\UsersManager\UsersManager; use Piwik\Segment; /** diff --git a/plugins/SitesManager/Controller.php b/plugins/SitesManager/Controller.php index 34fe1cc2a3..48afa6cbe6 100644 --- a/plugins/SitesManager/Controller.php +++ b/plugins/SitesManager/Controller.php @@ -11,11 +11,8 @@ namespace Piwik\Plugins\SitesManager; use Exception; use Piwik\API\ResponseBuilder; use Piwik\Common; -use Piwik\Date; -use Piwik\IP; use Piwik\Piwik; use Piwik\SettingsPiwik; -use Piwik\SettingsServer; use Piwik\Site; use Piwik\View; diff --git a/plugins/UserCountry/UserCountry.php b/plugins/UserCountry/UserCountry.php index 23d4c4c3e3..b1f8bd019e 100644 --- a/plugins/UserCountry/UserCountry.php +++ b/plugins/UserCountry/UserCountry.php @@ -11,7 +11,6 @@ namespace Piwik\Plugins\UserCountry; use Piwik\ArchiveProcessor; use Piwik\Common; use Piwik\Config; -use Piwik\Piwik; use Piwik\Plugins\UserCountry\LocationProvider\GeoIp; use Piwik\Plugins\UserCountry\LocationProvider; use Piwik\Url; diff --git a/plugins/UsersManager/tests/UserPreferencesTest.php b/plugins/UsersManager/tests/UserPreferencesTest.php index 515df79dd8..c87714f8ce 100644 --- a/plugins/UsersManager/tests/UserPreferencesTest.php +++ b/plugins/UsersManager/tests/UserPreferencesTest.php @@ -12,7 +12,6 @@ use Piwik\Plugins\UsersManager\UserPreferences; use Piwik\Plugins\UsersManager\API as APIUsersManager; use FakeAccess; use Piwik\Access; -use Piwik\Tests\Fixture; /** * @group UsersManager diff --git a/plugins/VisitFrequency/VisitFrequency.php b/plugins/VisitFrequency/VisitFrequency.php index 1666edd0dc..079b5ddf60 100644 --- a/plugins/VisitFrequency/VisitFrequency.php +++ b/plugins/VisitFrequency/VisitFrequency.php @@ -8,7 +8,6 @@ */ namespace Piwik\Plugins\VisitFrequency; -use Piwik\Piwik; use Piwik\Plugins\CoreVisualizations\Visualizations\Graph; use Piwik\Plugins\CoreVisualizations\Visualizations\HtmlTable; diff --git a/plugins/VisitTime/Reports/Base.php b/plugins/VisitTime/Reports/Base.php index 886d51d963..89b553cd44 100644 --- a/plugins/VisitTime/Reports/Base.php +++ b/plugins/VisitTime/Reports/Base.php @@ -8,7 +8,6 @@ */ namespace Piwik\Plugins\VisitTime\Reports; -use Piwik\Piwik; use Piwik\Plugin\ViewDataTable; use Piwik\Plugins\CoreVisualizations\Visualizations\JqplotGraph\Bar; |