From: David Mudrak Date: Mon, 4 Jan 2010 18:17:17 +0000 (+0000) Subject: Fixed regression and broken interafce implementation X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=1accb520a0413effea963de4a844c536222751b4;p=moodle.git Fixed regression and broken interafce implementation --- diff --git a/mod/workshop/form/accumulative/lib.php b/mod/workshop/form/accumulative/lib.php index 68c8cf3fdd..4a278c510a 100644 --- a/mod/workshop/form/accumulative/lib.php +++ b/mod/workshop/form/accumulative/lib.php @@ -243,7 +243,7 @@ class workshop_accumulative_strategy implements workshop_strategy { /** * @see parent::get_assessments_recordset() */ - public function get_assessments_recordset($restrict) { + public function get_assessments_recordset($restrict=null) { global $DB; $sql = 'SELECT s.id AS submissionid, diff --git a/mod/workshop/form/numerrors/lib.php b/mod/workshop/form/numerrors/lib.php index 02da64b4cf..d319b1f8d9 100644 --- a/mod/workshop/form/numerrors/lib.php +++ b/mod/workshop/form/numerrors/lib.php @@ -275,6 +275,20 @@ class workshop_numerrors_strategy implements workshop_strategy { return false; } + /** + * @see parent::get_assessments_recordset() + */ + public function get_assessments_recordset($restrict=null) { + // todo + } + + /** + * @see parent::get_dimensions_info() + */ + public function get_dimensions_info() { + // todo + } + //////////////////////////////////////////////////////////////////////////////// // Internal methods // ////////////////////////////////////////////////////////////////////////////////