Moved 'file_stack_' after $type to have a nice name.
[core.git] / inc / classes / main / factories / index / class_FileStackIndexFactory.php
index df10a1c84f0cb742b4067faf1c08402d7fd91443..43394fd6819fc8d30dd027409dc3e0435cba7c36 100644 (file)
@@ -45,7 +45,7 @@ class FileStackIndexFactory extends ObjectFactory {
                        $indexInstance = Registry::getRegistry()->getInstance($type . '_index');
                } else {
                        // Get the handler instance
-                       $indexInstance = self::createObjectByConfiguredName('file_stack_' . $type . '_index_class', array($fileName));
+                       $indexInstance = self::createObjectByConfiguredName($type . 'file_stack__index_class', array($fileName));
 
                        // Add it to the registry
                        Registry::getRegistry()->addInstance($type . '_index', $indexInstance);