[-TASK] Extbase (DomainObject): Removed unnecessary instanciation of DataMapper.
authorJochen Rau <j.rau@web.de>
Sun, 2 May 2010 09:37:37 +0000 (09:37 +0000)
committerJochen Rau <j.rau@web.de>
Sun, 2 May 2010 09:37:37 +0000 (09:37 +0000)
typo3/sysext/extbase/Classes/DomainObject/AbstractEntity.php

index e5c3eba..69d57d4 100644 (file)
@@ -48,7 +48,6 @@ abstract class Tx_Extbase_DomainObject_AbstractEntity extends Tx_Extbase_DomainO
                if ($propertyName !== NULL) {
                        $this->_memorizePropertyCleanState($propertyName);
                } else {
-                       $dataMapper = t3lib_div::makeInstance('Tx_Extbase_Persistence_Mapper_DataMapper'); // singleton
                        $this->_cleanProperties = array();
                        $properties = get_object_vars($this);
                        foreach ($properties as $propertyName => $propertyValue) {