The orphaned entries of a file which is associated to the node should be removed when a file which is attached to a node is removed from it. Like associated entries from file_managed table. How to remove all such stale entries?

enter image description here

  • 1
    They're not orphaned, their status is marked as 0 and they're deleted automatically on a cron run (default 6 hours I think) – Clive Jan 4 at 9:59

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.