Skip to content
Snippets Groups Projects
Commit f212d511 authored by srosse's avatar srosse
Browse files

OO-1570: delete siltently the course directory ( without versioning if versioning enabled )

parent 5675b8dd
No related branches found
No related tags found
No related merge requests found
...@@ -361,7 +361,7 @@ public class CourseFactory extends BasicManager { ...@@ -361,7 +361,7 @@ public class CourseFactory extends BasicManager {
// delete course directory // delete course directory
VFSContainer fCourseBasePath = getCourseBaseContainer(res.getResourceableId()); VFSContainer fCourseBasePath = getCourseBaseContainer(res.getResourceableId());
VFSStatus status = fCourseBasePath.delete(); VFSStatus status = fCourseBasePath.deleteSilently();
boolean deletionSuccessful = (status == VFSConstants.YES || status == VFSConstants.SUCCESS); boolean deletionSuccessful = (status == VFSConstants.YES || status == VFSConstants.SUCCESS);
log.info("deleteCourse: finished deletion. res="+res+", deletion successful: "+deletionSuccessful+", duration: "+(System.currentTimeMillis()-start)+" ms."); log.info("deleteCourse: finished deletion. res="+res+", deletion successful: "+deletionSuccessful+", duration: "+(System.currentTimeMillis()-start)+" ms.");
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment