mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-27 16:08:55 +02:00
Removed old helper file
This commit is contained in:
@@ -1,15 +0,0 @@
|
||||
<?php
|
||||
namespace InfluxDB;
|
||||
|
||||
function list_to_string(array $elements, $escape = false)
|
||||
{
|
||||
array_walk($elements, function(&$value, $key) use ($escape) {
|
||||
if ($escape && is_string($value)) {
|
||||
$value = "\"{$value}\"";
|
||||
}
|
||||
|
||||
$value = "{$key}={$value}";
|
||||
});
|
||||
|
||||
return implode(",", $elements);
|
||||
}
|
||||
Reference in New Issue
Block a user