Skip to content

Conversation

solracsf
Copy link
Member

Related to #55709

Summary

Also delete database entries, not only the preview files

Checklist


try {
// Delete preview folder
$previewFolder->delete();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How does this not delete the filecache entries as well?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hum. It was my understanding that appdata folder is considered system-level storage, and not watched by the (user) cache updater? Am I wrong?

@tcitworld
Copy link
Member

Tests need to be updated as well

@solracsf solracsf added 2. developing Work in progress and removed 3. to review Waiting for reviews labels Oct 13, 2025
@solracsf solracsf marked this pull request as draft October 13, 2025 17:05
@solracsf solracsf force-pushed the cleanPreviewDatabase branch from 8a275c3 to ffca01a Compare October 13, 2025 17:26
@CarlSchwan
Copy link
Member

This whole class needs to be rewritten for the new preview system. I'm going to do that tomorrow. Your work is still useful for the stable32 branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants