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
if ($uuid != null) {
if (getNodes()->del($uuid)) {
// if item is removed, serialize to config and save
$mdlShaper->serializeToConfig();
$mdl->serializeToConfig();
Config::getInstance()->save();
$result['result'] = 'deleted';
} else {
......@@ -152,7 +152,7 @@ abstract class ApiMutableTableModelControllerBase extends ApiControllerBase
}
$result['result'] = $node->enabled;
// if item has toggled, serialize to config and save
$mdlShaper->serializeToConfig();
$mdl->serializeToConfig();
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