Revert "Temp fix to remove .index at the start of the poller run"

This commit is contained in:
Neil Lathwood
2015-06-25 14:20:48 +01:00
parent 8b56ced495
commit 07c1be5b00

View File

@@ -25,11 +25,6 @@ include("includes/alerts.inc.php");
$poller_start = utime();
echo($config['project_name_version']." Poller\n\n");
if (is_file($config['mib_dir'].'/.index') === true) {
echo ".index exists, removing\n";
unlink($config['mib_dir'].'/.index');
}
$options = getopt("h:m:i:n:r::d::a::");
if ($options['h'] == "odd") { $options['n'] = "1"; $options['i'] = "2"; }