Open Domtaholic opened 5 years ago
This extension does not take usage in FAL into consideration. If a file is old enough it will be deleted physically and marked as deleted in FAL.
Checking if the file is still in use might be a nice new feature tough.
Ye, would make a lot of sense in my opinion ;)
Our client don´t want to pay for a solution which considers FAL, they do it manually so i can´t invest time there, will you update this in the near feature?
Then we would consider this extension in future projects
Cheers
No, I have no plans to implement this any time soon, sorry.
Checked how to implement this feature.
Sadly TYPO3's FAL has no "inUse" flag so I checked how the info dialog handles this. It's a bunch of non public DB queries which cannot be reused easily.
Reference:
Am i missing something or do you NOT check if the file ist still referenced via FAL?
I just read the code and you are just checking if a file is older then a certain point which is some sort of okay, but do you check if the file is still referenced?
A file could be older then 6months and is still visible on the website, you would still delete it which is obviously bad.
I just couldn´t find it.