Lazer\Classes\Core_Relation::deleteRelationData PHP Method

deleteRelationData() protected method

Inserts relation data to config file
protected deleteRelationData ( string $from, string $to )
$from string Local table
$to string Related table
    protected function deleteRelationData($from, $to)
    {
        $config = Config::table($from);
        $content = $config->get();
        unset($content->relations->{$to});
        $config->put($content);
    }