Revert "[BUGFIX] sys_file record doesn't get flagged as delete" 66/22666/3
authorOliver Hader <oliver.hader@typo3.org>
Mon, 29 Jul 2013 16:39:53 +0000 (18:39 +0200)
committerOliver Hader <oliver.hader@typo3.org>
Mon, 29 Jul 2013 16:43:27 +0000 (18:43 +0200)
This reverts commit 640e4d51238cea1315ec40377214f4d533d9b7d0

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

index 5f6f288..72eac6c 100644 (file)
@@ -448,7 +448,6 @@ abstract class AbstractFile implements FileInterface {
         */
        public function setDeleted() {
                $this->deleted = TRUE;
-               $this->updateProperties(array('deleted' => TRUE));
        }
 
        /**
@@ -562,4 +561,4 @@ abstract class AbstractFile implements FileInterface {
 }
 
 
-?>
+?>
\ No newline at end of file
index cdf6bf1..10767f2 100644 (file)
@@ -990,7 +990,6 @@ class ResourceStorage {
                }
                // Mark the file object as deleted
                $fileObject->setDeleted();
-               $this->getFileRepository()->update($fileObject);
 
                $this->emitPostFileDeleteSignal($fileObject);