Closed (works as designed)
Project:
Upload path
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
6 Jan 2008 at 08:51 UTC
Updated:
7 Jan 2008 at 02:48 UTC
When deleting a node with attachments, the module should delete the upload directory the node was using if it is empty.
Comments
Comment #1
Crell commentedIs that how other Drupal upload/file-using modules behave? I don't think it is, but I'm not certain.
Comment #2
thulstrup commentedYou're right. I just made a quick test using the CCK Filefield module. It leaves an empty directory as well.
Perhapse it could be an options in the settings page whether or not to remove empty directories?
Comment #3
Crell commentedI'd rather follow the lead of other modules on this one. Deleting directories could potentially get messy. If you can provide a well-tested patch for it then reopen this issue, but I am not going to work on it myself.