diff options
Diffstat (limited to 'perl/Wallet/Kadmin')
| -rw-r--r-- | perl/Wallet/Kadmin/Heimdal.pm | 12 | ||||
| -rw-r--r-- | perl/Wallet/Kadmin/MIT.pm | 12 | 
2 files changed, 0 insertions, 24 deletions
| diff --git a/perl/Wallet/Kadmin/Heimdal.pm b/perl/Wallet/Kadmin/Heimdal.pm index 30b1e52..3047b2f 100644 --- a/perl/Wallet/Kadmin/Heimdal.pm +++ b/perl/Wallet/Kadmin/Heimdal.pm @@ -30,18 +30,6 @@ $VERSION = '0.03';  # Utility functions  ############################################################################## -# Set or return the error stashed in the object. -sub error { -    my ($self, @error) = @_; -    if (@error) { -        my $error = join ('', @error); -        chomp $error; -        1 while ($error =~ s/ at \S+ line \d+\.?\z//); -        $self->{error} = $error; -    } -    return $self->{error}; -} -  # Add the realm to the end of the principal if no realm is currently present.  sub canonicalize_principal {      my ($self, $principal) = @_; diff --git a/perl/Wallet/Kadmin/MIT.pm b/perl/Wallet/Kadmin/MIT.pm index a7ccf99..9dc101e 100644 --- a/perl/Wallet/Kadmin/MIT.pm +++ b/perl/Wallet/Kadmin/MIT.pm @@ -31,18 +31,6 @@ $VERSION = '0.02';  # Utility functions  ############################################################################## -# Set or return the error stashed in the object. -sub error { -    my ($self, @error) = @_; -    if (@error) { -        my $error = join ('', @error); -        chomp $error; -        1 while ($error =~ s/ at \S+ line \d+\.?\z//); -        $self->{error} = $error; -    } -    return $self->{error}; -} -  # Set a callback to be called for forked kadmin processes.  sub fork_callback {      my ($self, $callback) = @_; | 
