Moved 'file_stack_' after $type to have a nice name.
authorRoland Haeder <roland@mxchange.org>
Mon, 19 May 2014 21:24:36 +0000 (23:24 +0200)
committerRoland Haeder <roland@mxchange.org>
Mon, 19 May 2014 21:24:36 +0000 (23:24 +0200)
Signed-off-by: Roland H├Ąder <roland@mxchange.org>
inc/classes/main/factories/index/class_FileStackIndexFactory.php

index df10a1c..43394fd 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);