From 155ce5005a87ba55c9b99ede40ef0105d61a09a4 Mon Sep 17 00:00:00 2001 From: Penny Leach Date: Mon, 22 Mar 2010 09:04:02 +0000 Subject: [PATCH] portfolio MDL-21030 be more selective about the mahara continue url (depending on the export format) --- portfolio/mahara/lib.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/portfolio/mahara/lib.php b/portfolio/mahara/lib.php index 77fb1d0a501..06780c4e846 100644 --- a/portfolio/mahara/lib.php +++ b/portfolio/mahara/lib.php @@ -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; }