mattgibson/moodle-plagiarism_turnitin — comment on commit 03eeac495d2083a07d235f7a322c9c9259af71bd
File:  line 0
By peterbulmer:

My thinking was around the fact that if you added a row to turnitin_files immediately, then you could easily tell between files that have been submitted (and are either in queue, or error state), and files that were not submitted at all (eg files that were uploaded before TII was configured).

Any 'hoover up' function should avoid submitting files to TII that were submitted to Moodle by the student without the student seeing a "This file will but submitted to turnitin for plagiarism detection" warning.