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

Refactor recursiveDelete #132

Merged
merged 1 commit into from
Aug 20, 2017
Merged

Refactor recursiveDelete #132

merged 1 commit into from
Aug 20, 2017

Conversation

MorrisJobke
Copy link
Member

Rebased version of #121

The recursiveDelete method causes problems in certain environments with the RecursiveDirectoryIterator not iterating through all elements of a tree when deleting nodes while iterating.
This is solved by first completing the iteration and only then deleting all elements.

Apply refactoring of recursiveDelete also to lib/Updater.php

Remove newline to make integration test happy

Now really make the functions the same in index.php and Updater.php

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
@MorrisJobke MorrisJobke merged commit eb8edc1 into master Aug 20, 2017
@MorrisJobke MorrisJobke deleted the stjosh-master branch August 20, 2017 12:50
@MorrisJobke
Copy link
Member Author

stable12 ed377ce

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.

2 participants