Changeset 5043
- Timestamp:
- 10/02/08 20:47:32 (22 months ago)
- Location:
- branches/1.1/lib/Doctrine
- Files:
-
- 2 modified
-
Collection.php (modified) (2 diffs)
-
Connection/UnitOfWork.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/1.1/lib/Doctrine/Collection.php
r5032 r5043 818 818 * @return Doctrine_Collection 819 819 */ 820 public function save(Doctrine_Connection $conn = null )820 public function save(Doctrine_Connection $conn = null, $processDiff = true) 821 821 { 822 822 if ($conn == null) { … … 829 829 $conn->transaction->addCollection($this); 830 830 831 $this->processDiff(); 831 if ($processDiff) { 832 $this->processDiff(); 833 } 832 834 833 835 foreach ($this->getData() as $key => $record) { -
branches/1.1/lib/Doctrine/Connection/UnitOfWork.php
r5019 r5043 438 438 439 439 if ($rel instanceof Doctrine_Relation_Association) { 440 $v->save($this->conn );440 $v->save($this->conn, false); 441 441 442 442 $assocTable = $rel->getAssociationTable();