Revert "[BUGFIX] sys_file record doesn't get flagged as delete" 67/22667/3
authorOliver Hader <oliver.hader@typo3.org>
Mon, 29 Jul 2013 16:42:20 +0000 (18:42 +0200)
committerOliver Hader <oliver.hader@typo3.org>
Mon, 29 Jul 2013 16:43:10 +0000 (18:43 +0200)
This reverts commit f45af2ceed02c849c30715892582b68e6aff5e5a

Change-Id: I2cd6c4a03c3336e73bfe81fa86f222ce5a352f7d
Change-Id: I92b473a02fc62d44b82cf069c58278d1806307ca
Reviewed-on: https://review.typo3.org/22667
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
typo3/sysext/core/Classes/Resource/AbstractFile.php
typo3/sysext/core/Classes/Resource/ResourceStorage.php

index f5fe790..a73e720 100644 (file)
@@ -431,7 +431,6 @@ abstract class AbstractFile implements FileInterface {
         */
        public function setDeleted() {
                $this->deleted = TRUE;
-               $this->updateProperties(array('deleted' => TRUE));
        }
 
        /**
@@ -545,4 +544,4 @@ abstract class AbstractFile implements FileInterface {
 }
 
 
-?>
+?>
\ No newline at end of file
index 69423a4..6269bac 100644 (file)
@@ -993,7 +993,6 @@ class ResourceStorage {
                }
                // Mark the file object as deleted
                $fileObject->setDeleted();
-               $this->getFileRepository()->update($fileObject);
 
                $this->emitPostFileDeleteSignal($fileObject);