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

a single method is enough

parent 1b530f35
No related branches found
No related tags found
No related merge requests found
......@@ -20,12 +20,7 @@ chdir $configuration->{root_manager_dir};
my $request = new IdPAccountManager::WebRequest(
configuration => $configuration
);
if (defined $request) {
$request->execute();
}
$request->respond();
$request->run();
__END__
......
......@@ -70,6 +70,12 @@ sub new {
return $self;
}
sub run {
my ($self) = @_;
$self->execute();
$self->respond();
}
## Execute a web request
sub execute {
my ($self) = @_;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment