X-Git-Url: https://git.mxchange.org/?p=core.git;a=blobdiff_plain;f=inc%2Fclasses%2Fmain%2Fdiscovery%2Fpayment%2Fclass_LocalPaymentDiscovery.php;h=9785bef4e5eb9b99d79e78c447e3713f42872e4c;hp=3484bc83c0d34beb6884f5e21ee7f89c2e8a318e;hb=3cbaa685d35683473f2a13107999108344df2aa7;hpb=f99d59c66616a4a42b3716987f0cb40f181cd952 diff --git a/inc/classes/main/discovery/payment/class_LocalPaymentDiscovery.php b/inc/classes/main/discovery/payment/class_LocalPaymentDiscovery.php index 3484bc83..9785bef4 100644 --- a/inc/classes/main/discovery/payment/class_LocalPaymentDiscovery.php +++ b/inc/classes/main/discovery/payment/class_LocalPaymentDiscovery.php @@ -65,7 +65,7 @@ class LocalPaymentDiscovery extends BaseDiscovery implements Discoverable, Regis $criteriaInstance->setLimit(1); // Get a wrapper instance - $wrapperInstance = ObjectFactory::createObjectByConfiguredName('payment_db_wrapper_class'); + $wrapperInstance = DatabaseWrapperFactory::createWrapperByConfiguredName('payment_db_wrapper_class'); // Get result back $resultInstance = $wrapperInstance->doSelectByCriteria($criteriaInstance);