mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
remove legacy json format function (#12583)
* remove legacy json format function * remove silly use
This commit is contained in:
@@ -71,7 +71,7 @@ $query = "SELECT DATE_FORMAT(time_logged, '" . \LibreNMS\Config::get('alert_grap
|
||||
}
|
||||
}
|
||||
|
||||
$graph_data = _json_encode($data);
|
||||
$graph_data = json_encode($data, JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE);
|
||||
?>
|
||||
var groups = new vis.DataSet();
|
||||
<?php
|
||||
|
Reference in New Issue
Block a user