MDL-34133 Plagiarism API - remove stored_file to make it more flexible for content.

This commit is contained in:
Kanika Goyal 2012-06-29 21:30:20 +05:30 committed by Dan Marsden
parent 904673dd20
commit 961f66fbc6

View File

@ -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' => '');
}
/**