Use 'self' here
[core.git] / 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);