With many of our assignments, we allow instructors to ask a student to reupload an assignment for grading purposes. But there seems to be no way to notify an instructor once the assignment has been reuploaded, or to indicate resubmitted assignments in the gradebook. I can't seem to find anything in the code or the database which tracks this. The only way I can think of is to compare the "timecreated" and "timemodified" dates in the mdl_assign_submissions table, and if they're not equal, mark the assignment as resubmitted.
Is there anything in the Moodle database or in the code which tracks this sort of reuploading? If so, where can I find it?
Any ideas, suggestions, mere hints, whatever, would be greatly appreciated.