diff --git a/mod/data/field/file/field.class.php b/mod/data/field/file/field.class.php index 6e81ff5e35d..bc7b8778654 100644 --- a/mod/data/field/file/field.class.php +++ b/mod/data/field/file/field.class.php @@ -71,7 +71,6 @@ class data_field_file extends data_field_base { $html .= ''; $options = new stdClass(); - $options->areamaxbytes = $this->field->param3; $options->maxbytes = $this->field->param3; $options->maxfiles = 1; // Limit to one file for the moment, this may be changed if requested as a feature in the future. $options->itemid = $itemid; diff --git a/mod/data/field/picture/field.class.php b/mod/data/field/picture/field.class.php index 3e2ee7e4003..63ed44038a3 100644 --- a/mod/data/field/picture/field.class.php +++ b/mod/data/field/picture/field.class.php @@ -75,7 +75,6 @@ class data_field_picture extends data_field_base { $str .= ''; $options = new stdClass(); - $options->areamaxbytes = $this->field->param3; $options->maxbytes = $this->field->param3; $options->maxfiles = 1; // Only one picture permitted. $options->itemid = $itemid;