Commit fbe7cd29 authored by pv2b's avatar pv2b Committed by Per von Zweigbergk

Fixed typos

parent 2d303f15
...@@ -119,7 +119,7 @@ abstract class ApiMutableTableModelControllerBase extends ApiControllerBase ...@@ -119,7 +119,7 @@ abstract class ApiMutableTableModelControllerBase extends ApiControllerBase
if ($uuid != null) { if ($uuid != null) {
if (getNodes()->del($uuid)) { if (getNodes()->del($uuid)) {
// if item is removed, serialize to config and save // if item is removed, serialize to config and save
$mdlShaper->serializeToConfig(); $mdl->serializeToConfig();
Config::getInstance()->save(); Config::getInstance()->save();
$result['result'] = 'deleted'; $result['result'] = 'deleted';
} else { } else {
...@@ -152,7 +152,7 @@ abstract class ApiMutableTableModelControllerBase extends ApiControllerBase ...@@ -152,7 +152,7 @@ abstract class ApiMutableTableModelControllerBase extends ApiControllerBase
} }
$result['result'] = $node->enabled; $result['result'] = $node->enabled;
// if item has toggled, serialize to config and save // if item has toggled, serialize to config and save
$mdlShaper->serializeToConfig(); $mdl->serializeToConfig();
Config::getInstance()->save(); Config::getInstance()->save();
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment