From e81ce9ff60582c690c6c3827c65e9982f66a0fb8 Mon Sep 17 00:00:00 2001 From: laf Date: Wed, 17 Sep 2014 18:45:44 +0100 Subject: [PATCH] Removed one of the router variables as it was not needed --- html/includes/api_functions.inc.php | 1 - 1 file changed, 1 deletion(-) diff --git a/html/includes/api_functions.inc.php b/html/includes/api_functions.inc.php index 0e42a25cb..01eb31acb 100644 --- a/html/includes/api_functions.inc.php +++ b/html/includes/api_functions.inc.php @@ -252,7 +252,6 @@ function list_devices() // This will return a list of devices global $config; $app = \Slim\Slim::getInstance(); - $router = $app->router()->getCurrentRoute()->getParams(); $order = $_GET['order']; $type = $_GET['type']; if(empty($order))