Used more DatabaseWrapperFactory as one instance of each is fine.
[core.git] / inc / classes / main / class_BaseFrameworkSystem.php
index 56b1cbfa36bd25465069feb27892b74181983c29..4205170200d1e544d6e3dfe34aa55a21350f6222 100644 (file)
@@ -2199,7 +2199,7 @@ class BaseFrameworkSystem extends stdClass implements FrameworkInterface {
                        $configEntry = $resultInstance->getUpdateInstance()->getWrapperConfigEntry();
 
                        // Create object instance
-                       $wrapperInstance = ObjectFactory::createObjectByConfiguredName($configEntry);
+                       $wrapperInstance = DatabaseWrapperFactory::createWrapperByConfiguredName($configEntry);
 
                        // Yes, then send the whole result to the database layer
                        $wrapperInstance->doUpdateByResult($this->getResultInstance());