remove debug print in eventlog()

git-svn-id: http://www.observium.org/svn/observer/trunk@614 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Tom Laermans
2010-01-07 18:19:53 +00:00
parent 7cd8a2ebb3
commit d020f59761

View File

@@ -739,7 +739,6 @@ function eventlog($eventtext,$device_id = "", $interface_id = "")
{
$event_query = "INSERT INTO eventlog (host, interface, datetime, message) VALUES (" . ($device_id ? $device_id : "NULL");
$event_query .= ", " . ($interface_id ? $interface_id : "NULL") . ", NOW(), '" . mysql_escape_string($eventtext) . "')";
echo "$event_query\n";
mysql_query($event_query);
}