From: Roland Haeder Date: Mon, 19 May 2014 21:24:36 +0000 (+0200) Subject: Moved 'file_stack_' after $type to have a nice name. X-Git-Url: https://git.mxchange.org/?p=core.git;a=commitdiff_plain;h=85d6a7d9a6e5a0f30e63fa6d81d69dfd9a7c7379;hp=c45d7623843f265ad3b2cf83a15444188cb8fb5a Moved 'file_stack_' after $type to have a nice name. Signed-off-by: Roland Häder --- diff --git a/inc/classes/main/factories/index/class_FileStackIndexFactory.php b/inc/classes/main/factories/index/class_FileStackIndexFactory.php index df10a1c8..43394fd6 100644 --- a/inc/classes/main/factories/index/class_FileStackIndexFactory.php +++ b/inc/classes/main/factories/index/class_FileStackIndexFactory.php @@ -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);