Currently, since the node.module doesn't tell other modules that is has deleted a revision, the upload.module does not remove the appropriate files from the files table. This is liked to a current bug:

http://drupal.org/node/31323

Once this situation is addressed in the above mentioned bug, then the upload.module should take this into account, and remove the files from the files table, and then also remove the files from the disk if the file is not used by any other revisions for that node.

Comments

killes@www.drop.org’s picture

Assigned: Unassigned » killes@www.drop.org

I am aware of the problem.

Souvent22’s picture

Status: Active » Closed (fixed)

Fixed and closed with upload patch in this issue:

http://drupal.org/node/39358

Bascially now honor's 'delete revision' event that has now been added to node in this issue:

http://drupal.org/node/31323