mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-19 19:15:22 +00:00
Interfaces: Other Types: VLAN - missing a config lock on delete, preventing multiple delete to function properly
This commit is contained in:
parent
63bac3c6ca
commit
6d33df1bb9
@ -159,6 +159,7 @@ class VlanSettingsController extends ApiMutableModelControllerBase
|
||||
|
||||
public function delItemAction($uuid)
|
||||
{
|
||||
Config::getInstance()->lock();
|
||||
$node = $this->getModel()->getNodeByReference('vlan.' . $uuid);
|
||||
$old_vlanif = $node != null ? (string)$node->vlanif : null;
|
||||
$children = 0;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user