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

OO-301: release the lock of the original course

parent 8ac8cb57
No related branches found
No related tags found
No related merge requests found
......@@ -245,7 +245,9 @@ public class CoursesWebService {
// copy image if available
RepositoryManager.getInstance().copyImage(src, preparedEntry);
return prepareCourse(preparedEntry, courseConfigVO);
ICourse course = prepareCourse(preparedEntry, courseConfigVO);
RepositoryHandlerFactory.getInstance().getRepositoryHandler(src).releaseLock(lockResult);
return course;
}
return null;
......
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