Changeset 3676
- Timestamp:
- 01/29/08 23:57:14 (17 months ago)
- Location:
- branches
- Files:
-
- 4 modified
-
0.10/lib/Doctrine/Template/Listener/Timestampable.php (modified) (1 diff)
-
0.10/lib/Doctrine/Template/Timestampable.php (modified) (1 diff)
-
0.9/lib/Doctrine/Template/Listener/Timestampable.php (modified) (1 diff)
-
0.9/lib/Doctrine/Template/Timestampable.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/0.10/lib/Doctrine/Template/Listener/Timestampable.php
r3419 r3676 64 64 } 65 65 66 if( ! $this->_options['updated']['disabled'] ) {66 if( ! $this->_options['updated']['disabled'] && $this->_options['updated']['onInsert']) { 67 67 $updatedName = $this->_options['updated']['name']; 68 68 $event->getInvoker()->$updatedName = $this->getTimestamp('updated'); -
branches/0.10/lib/Doctrine/Template/Timestampable.php
r3258 r3676 49 49 'format' => 'Y-m-d H:i:s', 50 50 'disabled' => false, 51 'onInsert' => true, 51 52 'options' => array())); 52 53 -
branches/0.9/lib/Doctrine/Template/Listener/Timestampable.php
r3253 r3676 64 64 } 65 65 66 if(!$this->_options['updated']['disabled'] ) {66 if(!$this->_options['updated']['disabled'] && $this->_options['updated']['onInsert']) { 67 67 $updatedName = $this->_options['updated']['name']; 68 68 $event->getInvoker()->$updatedName = $this->getTimestamp('updated'); -
branches/0.9/lib/Doctrine/Template/Timestampable.php
r3469 r3676 49 49 'format' => 'Y-m-d H:i:s', 50 50 'disabled' => false, 51 'onInsert' => true, 51 52 'options' => array())); 52 53