diff --git a/lib/form/form.class.php b/lib/form/form.class.php index 9890d696e8..f6eae21281 100644 --- a/lib/form/form.class.php +++ b/lib/form/form.class.php @@ -117,13 +117,6 @@ class form extends fixer $this->batchConvertField($config); } - /* Append comment and uid to $this->data if it exist. */ - $reservedPostList = array('comment', 'uid'); - foreach($reservedPostList as $field) - { - if(isset($this->rawdata->$field)) $this->data->$field = $this->rawdata->$field; - } - if(!empty($this->errors)) { $response = array('result' => 'fail', 'message' => $this->errors);