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 agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.