Skip to content

Commit

Permalink
portfolio MDL-21030 be more selective about the mahara continue url (…
Browse files Browse the repository at this point in the history
…depending on the export format)
  • Loading branch information
Penny Leach committed Mar 22, 2010
1 parent 0648ead commit 155ce50
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion portfolio/mahara/lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,10 @@ public function send_package() {
}

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;
}
Expand Down

0 comments on commit 155ce50

Please sign in to comment.