diff options
Diffstat (limited to 'lib/Vyatta/Login/RadiusServer.pm')
-rw-r--r-- | lib/Vyatta/Login/RadiusServer.pm | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/lib/Vyatta/Login/RadiusServer.pm b/lib/Vyatta/Login/RadiusServer.pm index 97ae4eb6..34da8a31 100644 --- a/lib/Vyatta/Login/RadiusServer.pm +++ b/lib/Vyatta/Login/RadiusServer.pm @@ -83,25 +83,11 @@ sub add_radius_servers { return 1; } -sub new { - my $that = shift; - my $class = ref($that) || $that; +sub update { my $rconfig = new Vyatta::Config; $rconfig->setLevel("system login radius-server"); my %servers = $rconfig->listNodeStatus(); - my $self = \%servers; - - bless $self, $class; - - return $self; -} - -sub update { - my $self = shift; - my %servers = %$self; my $server_str = ''; - my $rconfig = new Vyatta::Config; - $rconfig->setLevel('system login radius-server'); if (%servers) { remove_radius_servers(); |