MDL-53985 assign: Do not remove annotations
commit3c016111bd8021ab3181754ed77916691630bafa
authorDamyon Wiese <damyon@moodle.com>
Fri, 15 Dec 2017 03:50:43 +0000 (15 11:50 +0800)
committerDamyon Wiese <damyon@moodle.com>
Fri, 15 Dec 2017 03:50:43 +0000 (15 11:50 +0800)
tree132df6b1d84cd89355aabec2225b2b68c1ca3ec4
parent95b7be7f0519953b608ccc411e5c42ece3d070a0
MDL-53985 assign: Do not remove annotations

When an assignment submission is reverted to a draft, the timemodified on
the submission should not be modified. Changing the timemodified causes the
editpdf code to assume the pdf is stale, and forces all annotations to be removed.
mod/assign/locallib.php