Skip to content

Commit

Permalink
"MDL-25529 revert changes, it broke module instance creating page"
Browse files Browse the repository at this point in the history
  • Loading branch information
Dongsheng Cai committed Dec 5, 2010
1 parent 4a67d7c commit 7be06fa
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion course/modedit.php
Expand Up @@ -427,7 +427,6 @@
// update embedded links and save files
$modcontext = get_context_instance(CONTEXT_MODULE, $fromform->coursemodule);
if (plugin_supports('mod', $fromform->modulename, FEATURE_MOD_INTRO, true)) {
$introeditor = $fromform->introeditor;
$fromform->intro = file_save_draft_area_files($introeditor['itemid'], $modcontext->id,
'mod_'.$fromform->modulename, 'intro', 0,
array('subdirs'=>true), $introeditor['text']);
Expand Down

0 comments on commit 7be06fa

Please sign in to comment.