Add feature flag for WooCommerce orders sync job

[MAILPOET-2165]
This commit is contained in:
Jan Jakeš
2019-07-03 14:46:03 +02:00
committed by M. Shull
parent f9e6cf43f6
commit 0ea8715ef0
3 changed files with 24 additions and 3 deletions

View File

@ -153,6 +153,6 @@ class WorkersFactory {
/** @return WooCommerceOrders */
function createWooCommerceOrdersWorker($timer) {
return new WooCommerceOrders($this->woocommerce_helper, $this->woocommerce_purchases, $timer);
return new WooCommerceOrders($this->woocommerce_helper, $this->woocommerce_purchases, $this->features_controller, $timer);
}
}