From e0dda838a0cffd6b1f4fd3706e75537c1906b5ec Mon Sep 17 00:00:00 2001 From: Jean-Michel Vedrine Date: Sun, 28 Apr 2019 09:37:43 +0200 Subject: Fix errors returned from travis job --- combinable/combinable.php | 4 ---- 1 file changed, 4 deletions(-) (limited to 'combinable/combinable.php') 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; } -- cgit v1.2.3