[+BUGFIX] Extbase (Persistence): Fixed a problem where the cache was cleared at every...
[Packages/TYPO3.CMS.git] / typo3 / sysext / extbase / Classes / DomainObject / AbstractDomainObject.php
index 1669816..deee8d3 100644 (file)
@@ -134,7 +134,7 @@ abstract class Tx_Extbase_DomainObject_AbstractDomainObject implements Tx_Extbas
         * @return boolean
         */
        public function _isNew() {
-               return ($this->uid === NULL) || $this->_isClone();
+               return $this->uid === NULL;
        }
 
        /**
@@ -151,7 +151,7 @@ abstract class Tx_Extbase_DomainObject_AbstractDomainObject implements Tx_Extbas
         *
         * @return boolean
         */
-       public function _isDirty() {
+       public function _isDirty($propertyName = NULL) {
                return FALSE;
        }