diff --git a/classes/Importer.php b/classes/Importer.php
index 2c212545075f5e77427526037f876ee1ec48cd46..3fed8e08f22df8a42380ee7c9e23c1b0175f91fa 100644
--- a/classes/Importer.php
+++ b/classes/Importer.php
@@ -144,10 +144,8 @@ final class Importer
                 $this->createStatics($inputs);
             } elseif ($compType == LS . "LodspeakrVisualComponent") {
                 $this->createViews($inputs);
-            } else {
-                if ($conf['debug']) {
-                    Logging::log("Component '$component' (of type $compType) not supported", E_USER_WARNING);
-                }
+            } elseif ($this->configuration->debugMode()) {
+                Logging::log("Component '$component' (of type $compType) not supported", E_USER_WARNING);
             }
         }