Skip to content

Updater's should stop iterating through ALL files in deleteOldFiles() #397

Description

@kreativf

This isn't so much of a bug, as it is a QOL improvement that might fix some stuff along the way.
Right now the deleteOldFiles() function will iterate through all files inside of the nextcloud folder, even though the files might be inside a directory listed in $excludedElements. In my case it takes forever to iterate through ALL of the data folder during each update, including the painfully large cache, even though at the end of the day it doesn't do anything to those files.

Activity

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions