Skip to content

Commit

Permalink
MDL-34133 Plagiarism API - remove stored_file to make it more flexibl…
Browse files Browse the repository at this point in the history
…e for content.
  • Loading branch information
kanikagoyal authored and danmarsden committed Jul 16, 2012
1 parent 904673d commit 961f66f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plagiarism/lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,13 @@ public function get_links($linkarray) {
* 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' => '');
}
/**
Expand Down

0 comments on commit 961f66f

Please sign in to comment.