Permalink
Browse files

MDL-34133 Plagiarism API - remove stored_file to make it more flexibl…

…e for content.
  • Loading branch information...
1 parent 904673d commit 961f66fbc67f97f17c3435d7b29634ffc6ca04d7 @kanikagoyal kanikagoyal committed with danmarsden Jun 29, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 plagiarism/lib.php
View
@@ -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' => '');
}
/**

0 comments on commit 961f66f

Please sign in to comment.