Commit f1ddeacc authored by Penny Leach's avatar Penny Leach
Browse files

leap import: fixed a weird problem where some artefact libraries weren't getting included

Signed-off-by: default avatarPenny Leach <>
parent 8241aca4
......@@ -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);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment