Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mahara
mahara
Commits
13c1aa19
Commit
13c1aa19
authored
Oct 05, 2009
by
Nigel McNie
Browse files
The core's import_using_strategy doesn't need to return an artefact ID mapping now.
Signed-off-by:
Nigel McNie
<
nigel@catalyst.net.nz
>
parent
b3c32e25
Changes
1
Hide whitespace changes
Inline
Side-by-side
htdocs/import/leap/lib.php
View file @
13c1aa19
...
...
@@ -499,7 +499,6 @@ class PluginImportLeap extends PluginImport {
/**
*/
public
function
import_using_strategy
(
SimpleXMLElement
$entry
,
$strategy
,
array
$otherentries
)
{
$artefactmapping
=
array
();
switch
(
$strategy
)
{
case
self
::
STRATEGY_IMPORT_AS_VIEW
:
require_once
(
'view.php'
);
...
...
@@ -545,7 +544,6 @@ class PluginImportLeap extends PluginImport {
default
:
throw
new
ImportException
(
$this
,
'TODO: get_string: unknown strategy chosen for importing entry'
);
}
return
$artefactmapping
;
}
/**
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment