mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-13 16:14:40 +00:00
Diagnostics: Cleanup this->sessionClose
This commit is contained in:
parent
28f5caafa8
commit
27b47713dc
@ -44,7 +44,6 @@ class TrafficController extends ApiControllerBase
|
||||
*/
|
||||
public function InterfaceAction()
|
||||
{
|
||||
$this->sessionClose(); // long running action, close session
|
||||
$response = (new Backend())->configdRun('interface show traffic');
|
||||
return json_decode($response, true);
|
||||
}
|
||||
@ -70,7 +69,6 @@ class TrafficController extends ApiControllerBase
|
||||
public function TopAction($interfaces)
|
||||
{
|
||||
$response = [];
|
||||
$this->sessionClose(); // long running action, close session
|
||||
$config = Config::getInstance()->object();
|
||||
$iflist = [];
|
||||
$ifmap = [];
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user