original_string: protected function save_intro_draft_files($formdata) {
          if (isset($formdata->introattachments)) {
              file_save_draft_area_files($formdata->introattachments, $this->get_context()->id,
                                         'mod_assign', ASSIGN_INTROATTACHMENT_FILEAREA, 0);
          }
      }
code: protected function save_intro_draft_files($formdata) {
          if (isset($formdata->introattachments)) {
              file_save_draft_area_files($formdata->introattachments, $this->get_context()->id,
                                         'mod_assign', ASSIGN_INTROATTACHMENT_FILEAREA, 0);
          }
      }
code_tokens: protected function save_intro_draft_files ( $ formdata ) { if ( isset ( $ formdata -> introattachments ) ) { file_save_draft_area_files ( $ formdata -> introattachments , $ this -> get_context ( ) -> id , 'mod_assign' , ASSIGN_INTROATTACHMENT_FILEAREA , 0 ) ; } }
docstring: Save the attachments in the draft areas.
  
  @param stdClass $formdata
docstring_tokens: Save the attachments in the draft areas .