Skip to content
Snippets Groups Projects
Commit 3835bef7 authored by Guillaume ROUSSE's avatar Guillaume ROUSSE
Browse files

drop useless return value

parent fd4c685d
Branches
Tags
No related merge requests found
...@@ -60,8 +60,6 @@ sub set { ...@@ -60,8 +60,6 @@ sub set {
foreach my $parameter (keys %args) { foreach my $parameter (keys %args) {
$self->{'persistent'}->$parameter($args{$parameter}); $self->{'persistent'}->$parameter($args{$parameter});
} }
return 1;
} }
## Save object to DB ## Save object to DB
...@@ -99,8 +97,6 @@ sub print { ...@@ -99,8 +97,6 @@ sub print {
$self->get('id'), $self->get('token'), $self->get('email_address'), $self->get('id'), $self->get('token'), $self->get('email_address'),
$self->get('sp_entityid'), $self->get('sp_entityid'),
POSIX::strftime('%Y:%m:%d', localtime($self->get('creation_date'))); POSIX::strftime('%Y:%m:%d', localtime($self->get('creation_date')));
return 1.;
} }
## list all authentication tokens ## list all authentication tokens
......
...@@ -107,8 +107,6 @@ sub print { ...@@ -107,8 +107,6 @@ sub print {
my $root = $self->{'federation_metadata_as_xml'}->documentElement(); my $root = $self->{'federation_metadata_as_xml'}->documentElement();
print $fd $root->toString(); print $fd $root->toString();
return 1.;
} }
## returns a Lib::XML représenting an XML file ## returns a Lib::XML représenting an XML file
......
...@@ -30,8 +30,6 @@ sub print { ...@@ -30,8 +30,6 @@ sub print {
printf $fd printf $fd
"ServiceProvider ID=%s; entityid=%s; displayname=%s; contacts=%s\n", "ServiceProvider ID=%s; entityid=%s; displayname=%s; contacts=%s\n",
$self->id, $self->entityid, $self->displayname, $self->contacts; $self->id, $self->entityid, $self->displayname, $self->contacts;
return 1.;
} }
## list contacts for this SP, including those listed in conf.dev_sp_contact ## list contacts for this SP, including those listed in conf.dev_sp_contact
......
...@@ -91,8 +91,6 @@ sub print { ...@@ -91,8 +91,6 @@ sub print {
$self->get('sp_entityid'), $self->get('account_profile'), $self->get('sp_entityid'), $self->get('account_profile'),
POSIX::strftime('%Y:%m:%d', localtime($self->get('creation_date'))), POSIX::strftime('%Y:%m:%d', localtime($self->get('creation_date'))),
POSIX::strftime('%Y:%m:%d', localtime($self->get('expiration_date'))); POSIX::strftime('%Y:%m:%d', localtime($self->get('expiration_date')));
return 1.;
} }
## list all test accounts ## list all test accounts
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment