Commit c35a687f authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Release locked artefacts when releasing a view from moodle



Bug #900932

Change-Id: I4b3f6e18fb0ab68a8d9e0e5327d672e373f9a291
Signed-off-by: default avatarRichard Mansfield <richard.mansfield@catalyst.net.nz>
parent 506c004a
......@@ -762,6 +762,7 @@ function release_submitted_view($viewid, $assessmentdata, $teacherusername) {
$view->set('submittedhost', null);
$view->set('submittedtime', null);
$view->commit();
ArtefactType::update_locked($view->get('owner'));
db_commit();
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment