Skip to content
Snippets Groups Projects
Commit 08dd2eb5 authored by Stein Magne Bjorklund's avatar Stein Magne Bjorklund
Browse files

Importer reduce complexity

parent 8188ae6f
No related branches found
No related tags found
1 merge request!18Resolve "Remove all use of GLOBALS"
...@@ -144,10 +144,8 @@ final class Importer ...@@ -144,10 +144,8 @@ final class Importer
$this->createStatics($inputs); $this->createStatics($inputs);
} elseif ($compType == LS . "LodspeakrVisualComponent") { } elseif ($compType == LS . "LodspeakrVisualComponent") {
$this->createViews($inputs); $this->createViews($inputs);
} else { } elseif ($this->configuration->debugMode()) {
if ($conf['debug']) { Logging::log("Component '$component' (of type $compType) not supported", E_USER_WARNING);
Logging::log("Component '$component' (of type $compType) not supported", E_USER_WARNING);
}
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment