remove old inclusion of deprecated function from centreon.pm.

git-svn-id: http://svn.centreon.com/trunk/plugins-2.x@5255 6bcd3966-0018-0410-8128-fd23d134de7e
This commit is contained in:
Julien Mathis 2008-05-26 18:20:17 +00:00
parent da81d84606
commit 4df6f928b3
1 changed files with 1 additions and 5 deletions

View File

@ -38,7 +38,7 @@ use utils qw(%ERRORS $TIMEOUT);
# centreon specific # centreon specific
if (eval "require centreon" ) { if (eval "require centreon" ) {
use centreon qw(get_parameters create_rrd update_rrd &is_valid_serviceid); use centreon qw(get_parameters);
use vars qw($VERSION %centreon); use vars qw($VERSION %centreon);
%centreon = get_parameters(); %centreon = get_parameters();
} else { } else {
@ -305,9 +305,6 @@ sub check_options {
} }
###### Oreon ####### ###### Oreon #######
if (!defined($o_S)) { $o_S="1_1" }
$ServiceId = is_valid_serviceid($o_S);
if (!defined($o_step)) { $o_step="300" } if (!defined($o_step)) { $o_step="300" }
$step = $1 if ($o_step =~ /(\d+)/); $step = $1 if ($o_step =~ /(\d+)/);
@ -317,7 +314,6 @@ sub check_options {
check_options(); check_options();
#$rrd = $pathtorrdbase.$ServiceId.".rrd";
$start=time; $start=time;
# Check gobal timeout if snmp screws up # Check gobal timeout if snmp screws up