|
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?
webwork2/lib/WeBWorK/ContentGenerator/CourseAdmin.pm
Line 1023 in 88f19d5
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?