Remove unused argument
[MAILPOET-2219]
This commit is contained in:
@ -110,7 +110,7 @@ class AutomatedEmails extends SimpleWorker {
|
|||||||
$newsletter
|
$newsletter
|
||||||
->withSendingQueue()
|
->withSendingQueue()
|
||||||
->withTotalSent()
|
->withTotalSent()
|
||||||
->withStatistics($this->woocommerce_helper, new FeaturesController()); // TODO this is here temporarily until https://github.com/mailpoet/mailpoet/pull/2157 is merged after that we can remove the second argument
|
->withStatistics($this->woocommerce_helper);
|
||||||
}
|
}
|
||||||
$result = [];
|
$result = [];
|
||||||
foreach ($newsletters as $newsletter) {
|
foreach ($newsletters as $newsletter) {
|
||||||
|
@ -33,6 +33,7 @@ class FeatureFlagsRepository extends Repository {
|
|||||||
$feature_flag = new FeatureFlagEntity($data['name']);
|
$feature_flag = new FeatureFlagEntity($data['name']);
|
||||||
$this->persist($feature_flag);
|
$this->persist($feature_flag);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (array_key_exists('value', $data)) {
|
if (array_key_exists('value', $data)) {
|
||||||
$feature_flag->setValue($data['value']);
|
$feature_flag->setValue($data['value']);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user