mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
portfolio MDL-21030 be more selective about the mahara continue url (depending on the export format)
This commit is contained in:
parent
0648ead4d4
commit
155ce5005a
@ -228,7 +228,10 @@ class portfolio_plugin_mahara extends portfolio_plugin_pull_base {
|
||||
}
|
||||
|
||||
public function get_static_continue_url() {
|
||||
$remoteurl = '/artefact/file/';// @todo penny this might change later when we change formats.
|
||||
$remoteurl = '';
|
||||
if ($this->resolve_format() == 'file') {
|
||||
$remoteurl = '/artefact/file/'; // we hopefully get the files that were imported highlighted
|
||||
}
|
||||
if (isset($this->continueurl)) {
|
||||
$remoteurl .= $this->continueurl;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user