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
Branches
Tags
No related merge requests found
...@@ -20,12 +20,7 @@ chdir $configuration->{root_manager_dir}; ...@@ -20,12 +20,7 @@ chdir $configuration->{root_manager_dir};
my $request = new IdPAccountManager::WebRequest( my $request = new IdPAccountManager::WebRequest(
configuration => $configuration configuration => $configuration
); );
$request->run();
if (defined $request) {
$request->execute();
}
$request->respond();
__END__ __END__
......
...@@ -70,6 +70,12 @@ sub new { ...@@ -70,6 +70,12 @@ sub new {
return $self; return $self;
} }
sub run {
my ($self) = @_;
$self->execute();
$self->respond();
}
## Execute a web request ## Execute a web request
sub execute { sub execute {
my ($self) = @_; my ($self) = @_;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment