projects
/
core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Used more DatabaseWrapperFactory as one instance of each is fine.
[core.git]
/
inc
/
classes
/
main
/
class_BaseFrameworkSystem.php
diff --git
a/inc/classes/main/class_BaseFrameworkSystem.php
b/inc/classes/main/class_BaseFrameworkSystem.php
index 56b1cbfa36bd25465069feb27892b74181983c29..4205170200d1e544d6e3dfe34aa55a21350f6222 100644
(file)
--- a/
inc/classes/main/class_BaseFrameworkSystem.php
+++ b/
inc/classes/main/class_BaseFrameworkSystem.php
@@
-2199,7
+2199,7
@@
class BaseFrameworkSystem extends stdClass implements FrameworkInterface {
$configEntry = $resultInstance->getUpdateInstance()->getWrapperConfigEntry();
// Create object instance
$configEntry = $resultInstance->getUpdateInstance()->getWrapperConfigEntry();
// Create object instance
- $wrapperInstance =
ObjectFactory::createObject
ByConfiguredName($configEntry);
+ $wrapperInstance =
DatabaseWrapperFactory::createWrapper
ByConfiguredName($configEntry);
// Yes, then send the whole result to the database layer
$wrapperInstance->doUpdateByResult($this->getResultInstance());
// Yes, then send the whole result to the database layer
$wrapperInstance->doUpdateByResult($this->getResultInstance());