mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
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:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user