Feature proposal #5443
closedImplement additional delete cleanup
Description
When a folder is deleted the folder in file system still exists, but it's empty. It should clean it self up and delete the folder too. In addition to this when a user is deleted their folder that containers all their items also still exists. That should also clean up on delete.
Updated by krileon over 9 years ago
- Tracker changed from Bug to Feature proposal
Updated by krileon over 9 years ago
See GJ and its directory handling functions for easier cleanup (e.g. deleteDirectory function mainly)
Updated by krileon about 9 years ago
- % Done changed from 0 to 50
Empty folder is fine, but it should delete the entire structure for a user that's deleted. The below should be the behavior.
Delete Album = Delete All Items in Album (done)
Delete Item = Delete Item and Thumbnail (done)
Delete User = Delete Entire Folder Structure
Edit Item Upload = Delete Old Item (done)
Updated by krileon about 9 years ago
Deleting of Folders and Items exists already, but it needs to remove the left over folder structure for that user id.
Updated by krileon about 9 years ago
- Status changed from Assigned to Resolved
- % Done changed from 50 to 100
A final cleanup is now done by deleting the gallery folder associated with the deleted users id.