MNT Use ::create to allow Injector to replace content review emails sending task
This commit is contained in:
parent
27e0f8f517
commit
2e22bd4900
|
@ -93,7 +93,7 @@ class ContentReviewNotificationJob extends AbstractQueuedJob implements QueuedJo
|
||||||
{
|
{
|
||||||
$this->queueNextRun();
|
$this->queueNextRun();
|
||||||
|
|
||||||
$task = new ContentReviewEmails();
|
$task = ContentReviewEmails::create();
|
||||||
$task->run(new HTTPRequest("GET", "/dev/tasks/ContentReviewEmails"));
|
$task->run(new HTTPRequest("GET", "/dev/tasks/ContentReviewEmails"));
|
||||||
|
|
||||||
$this->currentStep = 1;
|
$this->currentStep = 1;
|
||||||
|
|
Loading…
Reference in New Issue