From 961f66fbc67f97f17c3435d7b29634ffc6ca04d7 Mon Sep 17 00:00:00 2001 From: Kanika Goyal Date: Fri, 29 Jun 2012 21:30:20 +0530 Subject: [PATCH] MDL-34133 Plagiarism API - remove stored_file to make it more flexible for content. --- plagiarism/lib.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plagiarism/lib.php b/plagiarism/lib.php index 81237717814..9f9fcc63f8a 100644 --- a/plagiarism/lib.php +++ b/plagiarism/lib.php @@ -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' => ''); } /**