Hello,
I am trying to figure out what happens when I delete a photo from a photo album. The UI claims the deleting is irreversible, however I could not find any relevant 'file delete' anywhere in either the photo album or the content repository soure tree (comments in the photo album code seem to indicate the file-system delete is the CR responsability).
I also have noticed that the size of the content-repository-content-files has doubled when I deleted a badly imported batch of photos and then reloaded them. I did this because the photo-album code did not use sorting and just uploaded photos in a seemingly random order (plain glob).
At this point I'm suspecting (hoping) that there is some sort of a CR daemon that cleans up unneeded CR files from the file-system, however I could not identify it. Any hints on where the file-system (photo) delete could be? Or at least how to manage file-deletion for CR items that use FS storage?
If there is no way do actually delete files from the CR, any suggestions how/where to add such code? Especially taking in account (transactional) consistency between the DB CR part and the associated FS files.
I'm running OpenACS 5.1.5 on Fedora 4.
Thank you,
Cristian