mirror of
https://github.com/moodle/moodle.git
synced 2025-01-17 13:38:32 +01:00
MDL-34133 Plagiarism API - remove stored_file to make it more flexible for content.
This commit is contained in:
parent
904673dd20
commit
961f66fbc6
@ -44,13 +44,13 @@ class plagiarism_plugin {
|
||||
* hook to allow plagiarism specific information to be returned unformatted
|
||||
* @param int $cmid
|
||||
* @param int $userid
|
||||
* @param stored_file $file moodle file object
|
||||
* @param $file file object
|
||||
* @return array containing at least:
|
||||
* - 'analyzed' - whether the file has been successfully analyzed
|
||||
* - 'score' - similarity score - ('' if not known)
|
||||
* - 'reporturl' - url of originality report - '' if unavailable
|
||||
*/
|
||||
public function get_file_results($cmid, $userid, stored_file $file) {
|
||||
public function get_file_results($cmid, $userid, $file) {
|
||||
return array('analyzed' => '', 'score' => '', 'reporturl' => '');
|
||||
}
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user