Changeset 4988

Show
Ignore:
Timestamp:
09/26/08 17:39:05 (9 months ago)
Author:
jwage
Message:

[1.0] fixes #1456 Making postDelete() run inside transaction

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/1.0/lib/Doctrine/Connection/UnitOfWork.php

    r4970 r4988  
    276276            } 
    277277 
    278             $this->conn->commit(); 
    279278            // trigger postDelete for records skipped during the deletion (veto!) 
    280279            foreach ($deletions as $skippedRecord) { 
    281280                $this->_postDelete($skippedRecord); 
    282281            } 
     282 
     283            $this->conn->commit(); 
    283284 
    284285            return true;