Skip to content

Why delete temp files when archiving but not deleting? #3048

Description

@Alex-Jordan

remove_tree($ce2->{courseDirs}{html_temp}, { keep_root => 1 });

I'm working on a feature and I came across this line of code from the subroutine that archives a course. Before making the archive, the files in webwork2/htdocs/tmp/[courseID]/ are deleted. Is it right that we are doing that, even if we are just making an archive file without deleting the live course when we are done?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions