Commit ea9be4a9 authored by Per von Zweigbergk's avatar Per von Zweigbergk

(base) Get rid of spurious origin code

parent a45758ff
...@@ -103,8 +103,6 @@ abstract class ApiMutableTableModelControllerBase extends ApiControllerBase ...@@ -103,8 +103,6 @@ abstract class ApiMutableTableModelControllerBase extends ApiControllerBase
// FIXME Is this correct? // FIXME Is this correct?
$node = $this->getNodes()->add(); $node = $this->getNodes()->add();
$node->setNodes($this->request->getPost(static::$internalModelName))); $node->setNodes($this->request->getPost(static::$internalModelName)));
// FIXME What do we do with this? Is this traffic-shaper specific? Do we need a hook here?
$node->origin = "TrafficShaper"; // set origin to this component.
return $this->save($mdl, $node, static::$internalModelName)); return $this->save($mdl, $node, static::$internalModelName));
} }
return $result; return $result;
......
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