Commit 45f4ec24 authored by zYne's avatar zYne

--no commit message

--no commit message
parent 0f921a8c
...@@ -736,10 +736,10 @@ class Doctrine_Table extends Doctrine_Configurable implements Countable ...@@ -736,10 +736,10 @@ class Doctrine_Table extends Doctrine_Configurable implements Countable
* @return void * @return void
*/ */
public function unbindAll() public function unbindAll()
{ throw new Exception(); {
$this->bound = array(); $this->bound = array();
$this->relations = array(); $this->relations = array();
$this->boundAliases = array(); $this->boundAliases = array();
} }
/** /**
* unbinds a relation * unbinds a relation
...@@ -965,9 +965,9 @@ class Doctrine_Table extends Doctrine_Configurable implements Countable ...@@ -965,9 +965,9 @@ class Doctrine_Table extends Doctrine_Configurable implements Countable
} else { } else {
// auto initialize a new one-to-one relationships for association table // auto initialize a new one-to-one relationships for association table
$associationTable->bind($this->getComponentName(), $associationTable->bind($this->getComponentName(),
$associationTable->getComponentName(). '.' . $e2[1], $associationTable->getComponentName(). '.' . $e2[1],
Doctrine_Relation::ONE_AGGREGATE Doctrine_Relation::ONE_AGGREGATE
); );
$associationTable->bind($definition['table']->getComponentName(), $associationTable->bind($definition['table']->getComponentName(),
$associationTable->getComponentName(). '.' . $definition['foreign'], $associationTable->getComponentName(). '.' . $definition['foreign'],
......
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