From: Philip Abernethy
Date: Thu, 21 Sep 2017 09:09:15 +0000 (+0200)
Subject: Remove unused Dumper uses
X-Git-Url: https://git.proxmox.com/?p=pve-access-control.git;a=commitdiff_plain;h=5654af83fa4f8ffc4e44176eea6229716eae2036;ds=sidebyside
Remove unused Dumper uses
Reviewed-by: Thomas Lamprecht
---
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";