Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(profiler): clear command does not work #48246

Merged
merged 1 commit into from
Sep 21, 2024

Conversation

kesselb
Copy link
Contributor

@kesselb kesselb commented Sep 20, 2024

  • Resolves: occ profiler:clear not working

Summary

  • The loop is supposed to delete the files first and then the directories.
  • getPathInfo returns a SplFileInfo object for the parent (the folder in our case).
  • A non-empty directory cannot be deleted.

Screenshot from 2024-09-20 18-13-09

TODO

  • CI
  • Review

Checklist

- The loop is supposed to delete the files first and then the directories.
- getPathInfo returns a SplFileInfo object for the parent (the folder in our case).
- A non-empty directory cannot be deleted.

Signed-off-by: Daniel Kesselberg <[email protected]>
@kesselb kesselb added bug 3. to review Waiting for reviews labels Sep 20, 2024
@kesselb kesselb added this to the Nextcloud 31 milestone Sep 20, 2024
@kesselb kesselb self-assigned this Sep 20, 2024
@susnux susnux merged commit 59059f6 into master Sep 21, 2024
174 checks passed
@susnux susnux deleted the bug/noid/profile-clear-not-working branch September 21, 2024 10:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants