Last active
December 15, 2017 12:02
-
-
Save filiphazardous/fb1bb0fec370b8c2964a22a67b98cd4a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff -ru a/src/Normalizer/FileEntityNormalizer.php b/file_entity/src/Normalizer/FileEntityNormalizer.php | |
--- a/src/Normalizer/FileEntityNormalizer.php | |
+++ b/src/Normalizer/FileEntityNormalizer.php | |
@@ -48,6 +48,7 @@ | |
else { | |
throw new \RuntimeException(SafeMarkup::format('Failed to write @filename.', array('@filename' => $entity->getFilename()))); | |
} | |
+ $entity->status = FILE_STATUS_PERMANENT; | |
return $entity; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment