[development] files owned by uid, patch review request.
earnie at users.sourceforge.net
Tue May 8 13:40:05 UTC 2007
Quoting Darrel O'Pry <dopry at thing.net>:
>> What if I want the files to get deleted when the node is deleted?
>> Would they still be deleted with the proposed patch?
> No. The file remains, but is disassociated from the node. There is no
> way to guarantee the file is not in use elsewhere on your site, or
> linked from an external site, so the file remains.
> It can be modified to do so, but being able to do it sanely will require
> the addition on drewish's modules column, or a hook delete for reference
> counting to make sure files are not in use elsewhere.
I haven't looked at the patch so forgive me if this is addressed.
Would it be possible to make this a feature within the system settings?
Would it be possible to have a count of nodes using the file and if
the node being deleted is the only one prompt for the user for file
More information about the development