Changeset 4563
- Timestamp:
- 06/25/08 19:37:32 (12 months ago)
- Location:
- branches/0.11
- Files:
-
- 2 modified
-
lib/Doctrine/Template/Listener/SoftDelete.php (modified) (1 diff)
-
tests/models/SoftDeleteTest.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/0.11/lib/Doctrine/Template/Listener/SoftDelete.php
r4496 r4563 51 51 public function __construct(array $options) 52 52 { 53 // Enable dql callbacks since this event listener utilizes them54 Doctrine_Manager::getInstance()->setAttribute('use_dql_callbacks', true);55 56 53 $this->_options = $options; 57 54 } -
branches/0.11/tests/models/SoftDeleteTest.php
r4439 r4563 1 1 <?php 2 Doctrine_Manager::getInstance()->setAttribute('use_dql_callbacks', true); 2 3 class SoftDeleteTest extends Doctrine_Record 3 4 {