mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
I will never understand scrut!
This commit is contained in:
@ -984,7 +984,6 @@ function update_device() {
|
|||||||
$app = \Slim\Slim::getInstance();
|
$app = \Slim\Slim::getInstance();
|
||||||
$router = $app->router()->getCurrentRoute()->getParams();
|
$router = $app->router()->getCurrentRoute()->getParams();
|
||||||
$status = 'error';
|
$status = 'error';
|
||||||
$message = '';
|
|
||||||
$code = 500;
|
$code = 500;
|
||||||
$hostname = $router['hostname'];
|
$hostname = $router['hostname'];
|
||||||
// use hostname as device_id if it's all digits
|
// use hostname as device_id if it's all digits
|
||||||
|
Reference in New Issue
Block a user