diff --git a/html/includes/api_functions.inc.php b/html/includes/api_functions.inc.php index 2abb88871a..9caa5c2b59 100644 --- a/html/includes/api_functions.inc.php +++ b/html/includes/api_functions.inc.php @@ -984,7 +984,6 @@ function update_device() { $app = \Slim\Slim::getInstance(); $router = $app->router()->getCurrentRoute()->getParams(); $status = 'error'; - $message = ''; $code = 500; $hostname = $router['hostname']; // use hostname as device_id if it's all digits