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 <penny@mjollnir.org>
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);
}
}
......
Markdown is supported
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