remove useless code

This commit is contained in:
garnier-quentin 2019-10-23 12:09:44 +02:00
parent 23a589f5b4
commit ad4bd9456c
1 changed files with 3 additions and 10 deletions

View File

@ -53,18 +53,11 @@ sub new {
return $self; return $self;
} }
sub check_options {
my ($self, %options) = @_;
$self->SUPER::check_options(%options);
}
sub manage_selection { sub manage_selection {
my ($self, %options) = @_; my ($self, %options) = @_;
$self->{sql} = $options{sql};
$self->{sql}->connect(); $options{sql}->connect();
$self->{sql}->query(query => q{ $options{sql}->query(query => q{
SELECT SELECT
cntr_value cntr_value
FROM FROM
@ -75,7 +68,7 @@ sub manage_selection {
object_name = 'SQLServer:Buffer Manager' object_name = 'SQLServer:Buffer Manager'
}); });
$self->{global}->{page_life_expectancy} = $self->{sql}->fetchrow_array(); $self->{global}->{page_life_expectancy} = $options{sql}->fetchrow_array();
} }
1; 1;