aboutsummaryrefslogtreecommitdiff
path: root/combinable/combinable.php
diff options
context:
space:
mode:
Diffstat (limited to 'combinable/combinable.php')
-rw-r--r--combinable/combinable.php4
1 files changed, 0 insertions, 4 deletions
diff --git a/combinable/combinable.php b/combinable/combinable.php
index e956073..ad4bfaf 100644
--- a/combinable/combinable.php
+++ b/combinable/combinable.php
@@ -129,12 +129,9 @@ class qtype_combined_combinable_algebra extends qtype_combined_combinable_text_e
$variables['varmax'][] = $variable->max;
}
$data = parent::data_to_form($context, $fileoptions) + $answers + $variables;
-
-
return $data;
}
-
public function validate() {
$errors = array();
// Regular expression string to match a number.
@@ -258,7 +255,6 @@ class qtype_combined_combinable_algebra extends qtype_combined_combinable_text_e
$errors[$this->form_field_name('tolerance')] = get_string('toleranceltzero', 'qtype_algebra');
}
-
return $errors;
}