]> git.mjollnir.org Git - moodle.git/commitdiff
Fixed regression and broken interafce implementation
authorDavid Mudrak <david.mudrak@gmail.com>
Mon, 4 Jan 2010 18:17:17 +0000 (18:17 +0000)
committerDavid Mudrak <david.mudrak@gmail.com>
Mon, 4 Jan 2010 18:17:17 +0000 (18:17 +0000)
mod/workshop/form/accumulative/lib.php
mod/workshop/form/numerrors/lib.php

index 68c8cf3fddc8c5061739db01f18b20a372b05b1d..4a278c510a9a26d2002304853dbd5990e5658898 100644 (file)
@@ -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,
index 02da64b4cfef281ae908a5a0fb3cd1e485287ca6..d319b1f8d9b5e4413b18fba832731f552d5b1fb6 100644 (file)
@@ -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                                                           //
 ////////////////////////////////////////////////////////////////////////////////