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

It's a tricky one -
What about the situation where plagiarism gets enabled after an upload has occurred. To say that the file is "in queue", or in an error state isn't really true.
The problem would be a lot easier if the entry in turnitin_files could be created at the time the event is fired, and updated when the event gets processed by cron (then updated again when the result comes back).
Thoughts?