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
f1ddeacc
Commit
f1ddeacc
authored
Feb 25, 2010
by
Penny Leach
Browse files
leap import: fixed a weird problem where some artefact libraries weren't getting included
Signed-off-by:
Penny Leach
<
penny@mjollnir.org
>
parent
8241aca4
Changes
1
Hide whitespace changes
Inline
Side-by-side
htdocs/import/leap/lib.php
View file @
f1ddeacc
...
...
@@ -165,6 +165,7 @@ class PluginImportLeap extends PluginImport {
if
(
safe_require
(
'import'
,
'leap/'
.
$plugin
,
'lib.php'
,
'require_once'
,
true
))
{
$classname
=
'LeapImport'
.
ucfirst
(
$plugin
);
if
(
method_exists
(
$classname
,
'setup'
))
{
safe_require
(
'artefact'
,
$plugin
);
call_static_method
(
$classname
,
'setup'
,
$this
);
}
}
...
...
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