Skip to content

Commit

Permalink
remove some unused statements
Browse files Browse the repository at this point in the history
  • Loading branch information
tsteur committed May 20, 2020
1 parent 19efb9d commit 7c16c25
Show file tree
Hide file tree
Showing 8 changed files with 0 additions and 16 deletions.
2 changes: 0 additions & 2 deletions classes/WpMatomo/Admin/AdvancedSettings.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@
use WpMatomo\Bootstrap;
use WpMatomo\Capabilities;
use WpMatomo\Settings;
use WpMatomo\Site;
use WpMatomo\TrackingCode\TrackingCodeGenerator;

if ( ! defined( 'ABSPATH' ) ) {
exit; // if accessed directly
Expand Down
2 changes: 0 additions & 2 deletions classes/WpMatomo/Admin/GeolocationSettings.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@

namespace WpMatomo\Admin;

use Piwik\Plugins\UserCountry\LocationProvider;
use WpMatomo\Bootstrap;
use WpMatomo\Capabilities;
use WpMatomo\ScheduledTasks;
use WpMatomo\Settings;
Expand Down
2 changes: 0 additions & 2 deletions classes/WpMatomo/Admin/Summary.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@

namespace WpMatomo\Admin;

use Piwik\Plugins\SitesManager\API;
use WpMatomo\Bootstrap;
use WpMatomo\Capabilities;
use WpMatomo\Report\Dates;
use WpMatomo\Report\Metadata;
Expand Down
1 change: 0 additions & 1 deletion classes/WpMatomo/Admin/SystemReport.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
use Piwik\Plugins\Diagnostics\Diagnostic\DiagnosticResult;
use Piwik\Plugins\Diagnostics\DiagnosticService;
use Piwik\Plugins\UserCountry\LocationProvider;
use Piwik\SettingsPiwik;
use WpMatomo\Bootstrap;
use WpMatomo\Capabilities;
use WpMatomo\Installer;
Expand Down
3 changes: 0 additions & 3 deletions classes/WpMatomo/Compatibility.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@

namespace WpMatomo;

use WP_Roles;
use WpMatomo\Admin\Menu;

if ( ! defined( 'ABSPATH' ) ) {
exit; // if accessed directly
}
Expand Down
1 change: 0 additions & 1 deletion classes/WpMatomo/Installer.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
use Piwik\DbHelper;
use Piwik\Exception\NotYetInstalledException;
use Piwik\Plugin\API as PluginApi;
use Piwik\Plugins\Installation\FormDatabaseSetup;
use Piwik\SettingsPiwik;
use WpMatomo\Site\Sync;

Expand Down
2 changes: 0 additions & 2 deletions classes/WpMatomo/OptOut.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@

namespace WpMatomo;

use WP_Roles;

if ( ! defined( 'ABSPATH' ) ) {
exit; // if accessed directly
}
Expand Down
3 changes: 0 additions & 3 deletions classes/WpMatomo/Referral.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@

namespace WpMatomo;

use WP_Roles;
use WpMatomo\Admin\Menu;

if ( ! defined( 'ABSPATH' ) ) {
exit; // if accessed directly
}
Expand Down

0 comments on commit 7c16c25

Please sign in to comment.