mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
portfolio/leap2a MDL-23955 updated leap2a support to 2010-07 version
This commit is contained in:
parent
7817d7c65b
commit
ebb7e78267
8 changed files with 98 additions and 95 deletions
|
@ -203,9 +203,7 @@ class data_portfolio_caller extends portfolio_module_caller_base {
|
|||
$entry->author = $users[$record->userid];
|
||||
}
|
||||
$ids[] = $entry->id;
|
||||
foreach ($files as $file) {
|
||||
$entry->add_attachment($file);
|
||||
}
|
||||
$leapwriter->link_files($entry, $files, 'dataentry' . $record->id . 'file');
|
||||
$leapwriter->add_entry($entry);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue