Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When a file is removed in AMP Metadata, it appears that the file is removed sitewide, regardless if it is in use elsewhere.
Make sure to only remove the file from the system if it no longer in use.
Comment | File | Size | Author |
---|---|---|---|
#3 | 2752419-3-file-usage-check.patch | 534 bytes | RainbowArray |
#2 | 2752419-1-check-file-usage.patch | 1.05 KB | RainbowArray |
Comments
Comment #2
RainbowArrayThis checks the usage of the organizational logo file before deleting. Pretty tricky to test this, as it would be a pretty rare thing to happen.
Comment #3
RainbowArrayHere's the D7 version of the patch.
Comment #4
mtiftProbably overkill, but I tested the D8 version by doing this:
All good. Committed to 8.x-1.x.
Comment #5
mtiftDid the same with D7. Committed to 7.x-1.x. Thanks, Marc.