[pve-devel] [PATCH access-control v3 2/3] Remove unused Dumper uses
Philip Abernethy
p.abernethy at proxmox.com
Thu Sep 21 11:09:15 CEST 2017
---
PVE/API2/ACL.pm | 2 --
PVE/API2/Role.pm | 2 --
PVE/API2/User.pm | 2 --
PVE/AccessControl.pm | 2 --
PVE/Auth/Plugin.pm | 2 --
5 files changed, 10 deletions(-)
diff --git a/PVE/API2/ACL.pm b/PVE/API2/ACL.pm
index 84d7549..fb4fbce 100644
--- a/PVE/API2/ACL.pm
+++ b/PVE/API2/ACL.pm
@@ -9,8 +9,6 @@ use PVE::Exception qw(raise_param_exc);
use PVE::SafeSyslog;
-use Data::Dumper; # fixme: remove
-
use PVE::RESTHandler;
use base qw(PVE::RESTHandler);
diff --git a/PVE/API2/Role.pm b/PVE/API2/Role.pm
index 0216c8d..895da82 100644
--- a/PVE/API2/Role.pm
+++ b/PVE/API2/Role.pm
@@ -7,8 +7,6 @@ use PVE::AccessControl;
use PVE::SafeSyslog;
-use Data::Dumper; # fixme: remove
-
use PVE::RESTHandler;
use base qw(PVE::RESTHandler);
diff --git a/PVE/API2/User.pm b/PVE/API2/User.pm
index 6f8dcd7..602e3f0 100644
--- a/PVE/API2/User.pm
+++ b/PVE/API2/User.pm
@@ -10,8 +10,6 @@ use PVE::JSONSchema qw(get_standard_option);
use PVE::SafeSyslog;
-use Data::Dumper; # fixme: remove
-
use PVE::RESTHandler;
use base qw(PVE::RESTHandler);
diff --git a/PVE/AccessControl.pm b/PVE/AccessControl.pm
index 98e2fd6..b45abda 100644
--- a/PVE/AccessControl.pm
+++ b/PVE/AccessControl.pm
@@ -22,8 +22,6 @@ use PVE::Auth::LDAP;
use PVE::Auth::PVE;
use PVE::Auth::PAM;
-use Data::Dumper; # fixme: remove
-
# load and initialize all plugins
PVE::Auth::AD->register();
diff --git a/PVE/Auth/Plugin.pm b/PVE/Auth/Plugin.pm
index b5f474b..16ef046 100755
--- a/PVE/Auth/Plugin.pm
+++ b/PVE/Auth/Plugin.pm
@@ -9,8 +9,6 @@ use PVE::SectionConfig;
use PVE::JSONSchema qw(get_standard_option);
use PVE::Cluster qw(cfs_register_file cfs_read_file cfs_lock_file);
-use Data::Dumper;
-
use base qw(PVE::SectionConfig);
my $domainconfigfile = "domains.cfg";
--
2.11.0
More information about the pve-devel
mailing list