portfolio MDL-21030 be more selective about the mahara continue url (depending on the export format)

This commit is contained in:
Penny Leach 2010-03-22 09:04:02 +00:00
parent 0648ead4d4
commit 155ce5005a

View File

@ -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;
}