Quote:
Originally Posted by ThePowerPig
How about automatically deleting the attachment(s) when the recipient actually DELETES the PM? That seems logical, since you wouldn't want orphaned attachments hogging your quota. That would be a waste of space and DB optimization.
I've installed the hack on 3/1/04 and everything seems to be working fine, except some little bug, where I'll describe in a new post!
|
The attachment is automatically deleted when it belongs to no more recipients. There are no orphaned attachments. They are done with the hourly cleanup and that was the reason to modify one of the cron jobs.
Please keep in mind that if you save a copy in your sent folder that counts as a pm, so the attachment wouldn't be deleted until both the recipient's pm and your copy of the pm are deleted.
It is the first time I have seen that "No post defined" error... do you have any other hack that deals with pm's or attachments installed?