Commit 19fc58dc authored by zYne's avatar zYne

--no commit message

--no commit message
parent e1f646c7
...@@ -111,15 +111,16 @@ class Doctrine_Relation_Parser ...@@ -111,15 +111,16 @@ class Doctrine_Relation_Parser
} }
$this->_pending[$alias] = array_merge($options, array('class' => $name, 'alias' => $alias)); $this->_pending[$alias] = array_merge($options, array('class' => $name, 'alias' => $alias));
/**
$m = Doctrine_Manager::getInstance(); $m = Doctrine_Manager::getInstance();
if (isset($options['onDelete'])) { if (isset($options['onDelete'])) {
$m->addDeleteAction($name, $this->_table->getComponentName(), $options['onDelete']); $m->addDeleteAction($name, $this->_table->getComponentName(), $options['onDelete']);
} }
if (isset($options['onUpdate'])) { if (isset($options['onUpdate'])) {
$m->addUpdateAction($name, $this->_table->getComponentName(), $options['onUpdate']); $m->addUpdateAction($name, $this->_table->getComponentName(), $options['onUpdate']);
} }
*/
return $this->_pending[$alias]; return $this->_pending[$alias];
} }
......
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