mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +02:00
MDL-15777 - whole database module export rejigged to use files api.
disabled ods and excel export for now until those libraries work with files api. reverted a previous patch I had in this area.
This commit is contained in:
parent
513e0bed18
commit
1bf8c6b2cb
5 changed files with 22 additions and 34 deletions
|
@ -74,6 +74,7 @@ if($mform->is_cancelled()) {
|
|||
if (array_key_exists('portfolio', $formdata) && !empty($formdata['portfolio'])) {
|
||||
// fake portfolio callback stuff and redirect
|
||||
$formdata['id'] = $cm->id;
|
||||
$formdata['exporttype'] = 'csv'; // force for now
|
||||
$url = portfolio_fake_add_url($formdata['portfolio'], 'data_portfolio_caller', '/mod/data/lib.php', $formdata);
|
||||
redirect($url);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue