]> git.mxchange.org Git - core.git/commitdiff
Use 'self' here
authorRoland Häder <roland@mxchange.org>
Thu, 7 Feb 2013 20:06:38 +0000 (20:06 +0000)
committerRoland Häder <roland@mxchange.org>
Thu, 7 Feb 2013 20:06:38 +0000 (20:06 +0000)
inc/classes/main/factories/database/class_DatabaseWrapperFactory.php

index 280fef313db696e31def7701802717ce16c96fd3..9e8189d540a54f3930597699e1788aeafb41938a 100644 (file)
@@ -39,7 +39,7 @@ class DatabaseWrapperFactory extends ObjectFactory {
                        $wrapperInstance = $registryInstance->getInstance($wrapperName);
                } else {
                        // Get the registry instance
-                       $wrapperInstance = ObjectFactory::createObjectByConfiguredName($wrapperName);
+                       $wrapperInstance = self::createObjectByConfiguredName($wrapperName);
 
                        // Set the instance in registry for further use
                        $registryInstance->addInstance($wrapperName, $wrapperInstance);