Clean up some poller debug + added updated version and last git commit

This commit is contained in:
laf
2015-08-24 20:54:19 +00:00
parent 065ad345c6
commit 59de0d1478
4 changed files with 7 additions and 5 deletions

View File

@@ -278,7 +278,8 @@ function poll_device($device, $options) {
// echo("$device_end - $device_start; $device_time $device_run");
echo "Polled in $device_time seconds\n";
d_echo('Updating '.$device['hostname'].' - '.print_r($update_array)." \n");
d_echo('Updating '.$device['hostname']."\n");
d_echo($update_array);
$updated = dbUpdate($update_array, 'devices', '`device_id` = ?', array($device['device_id']));
if ($updated) {