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 Delete action for documents backup. #11723

Merged
merged 7 commits into from Aug 26, 2019
Merged

Fix Delete action for documents backup. #11723

merged 7 commits into from Aug 26, 2019

Conversation

schhub
Copy link
Contributor

@schhub schhub commented Aug 22, 2019

Fix # [delete action not working on documents backups]

When trying to delete a document backup it never works because the delete action always use documents/admin/backup directory instead of documents/admin/documents directory.(If preg_match is too "heavy" it can be replaced by strpos)

correction of delete action always trying to delete files in document/admin/backup directory. Documents backups are stored in documents/admin/documents directory. If preg_match is too "heavy" it can be replaced by strpos.
@schhub schhub changed the title Delete action correction for documents backup. Fix Delete action for documents backup. Aug 23, 2019
@eldy eldy merged commit 7c98630 into Dolibarr:develop Aug 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants